找回密碼
 註冊
搜索
查看: 7669|回復: 0

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

[複製鏈接]
發表於 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/ ... /XP/Q_22677915.html
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-4-25 07:06 , Processed in 0.015770 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表