随笔分类 - vbs
摘要:环境:windows 1、有3个cmd需要依次执行,脚本如下wshshell.vbs Set WshShell = WScript.CreateObject("WScript.Shell") wshshell.run "1.bat",1,true wshshell.run "2.bat",1,tru
阅读全文
摘要:环境:windows、vbs 1、新建txt拷贝内容到文件,修改文件后缀名vbs,双击即可执行 Set WshShell = WScript.CreateObject("WScript.Shell") Set oExec = WshShell.Exec("ipconfig.exe") Set oSt
阅读全文