VBS運行批處理不顯示CMD窗口
已測試成功的腳本
腳本一:
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c a.bat",vbhide
—————————————
腳本二:
Set shell = Wscript.createobject("wscript.shell")
a = shell.run ("a.bat",0)
VBS運行批處理不顯示CMD窗口
已測試成功的腳本
腳本一:
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c a.bat",vbhide
—————————————
腳本二:
Set shell = Wscript.createobject("wscript.shell")
a = shell.run ("a.bat",0)
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。