windows下bat批处理脚本静默运行

1.打开文本编辑器

DIM objShell
set objShell=createobject("wscript.shell")
result=objShell.Run("bat路径",0,true)
result=objShell.Run("bat路径2",0,true)

2.将文件的后缀名改为.vbs 双击即可运行

猜你喜欢

转载自www.cnblogs.com/lionels/p/9055395.html