windows隐藏命令行程序窗口
DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C 命令行路径", 0, TRUE)
objShell.Run
的第2个参数,0不显示,1显示
手动关闭
taskkill /f /im XXX.exe
DIM objShell
set objShell=wscript.createObject("wscript.shell")
iReturn=objShell.Run("cmd.exe /C 命令行路径", 0, TRUE)
objShell.Run
的第2个参数,0不显示,1显示
手动关闭
taskkill /f /im XXX.exe