怎样写vbs批量运行bat文件
在VBS中,添加多个需要运行的BAT文件即可,示例:
createobject("wscript.shell").run "c:\test1.bat",0 '其中0表示bat文件以隐藏窗口的方式运行
createobject("wscript.shell").run "c:\test2.bat",0
createobject("wscript.shell").run "c:\test3.bat",0
createobject("wscript.shell").run "c:\test4.bat",0