Einzelnen Beitrag anzeigen
Alt 16.12.2004, 17:56   #16
Excalibur33
Elite
 
Registriert seit: 18.11.2001
Beiträge: 1.130


Standard

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
Excalibur33 ist offline   Mit Zitat antworten