运行批处理不显示CMD窗口

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)

原文地址:https://www.cnblogs.com/sohobloo/p/2596812.html