JDP 發表於 2008-12-9 10:59:14

如何背景執行"排定的行程"?

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"

或是建立batch檔後, 利用START /MIN xxx.bat的方式執行, 即可達到最小化執行.

Reference: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22677915.html
頁: [1]
查看完整版本: 如何背景執行"排定的行程"?