![]() |
![]() |
|
|
|||||||
| Programmierung Rat & Tat für Programmierer |
|
|
Themen-Optionen | Ansicht |
|
|
#21 |
|
Elite
![]() Registriert seit: 18.11.2001
Beiträge: 1.130
|
Entweder Rechtsklick auf die **.bat >Eigenschaften > Programm und Hakerl :beim Beenden schliessen oder auf "Fenster minimiert"
alternativ The coolest way is to make the batch file run totally invisibly. This is just a little dangerous because your batch file MUST be able to close itself and MUST never produce an error which might require user input. Otherwise the batch file will hang invisibly until system shutdown or until someone kills it with the task manager. To do this trick REQUIRES that you have Windows Scripting installed. Scripting is standard on Win98 and newer, and is an optional free download for Win95. To test, type "wscript" in the Start/Run dialog. If you get a settings dialog, you have it. If you get an error or Windows offers to find it for you, you don't have it. See my scripting web page for more info: http://www.ericphelps.com/scripting/index.htm Save this one line of text as "invisible.vbs": CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False To run any program or batch file invisibly, use it like this: wscript.exe "C:\Wherever\invisible.vbs" "C:\Some Other Place\MyBatchFile.bat" mfg Excal |
|
|
|
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|