用vbs脚本实现运行DOS批处理不再出现黑屏cmd窗口
摘要:DOS批处理不再黑屏的vbs脚本DIMobjShelln]h/K,cQ'xe0setōbjShell=wscrīpt.createO...
DOS批处理不再黑屏的vbs脚本
DIMobjShell
n]h/K,cQ'xe0setōbjShell=wscrīpt.createObject("wscrīpt.shell")linux博客?w?&Up~
iReturn=objShell.Run("cmd.exe/C192.168.1.61idiskbootcfg.ini",0,TRUE)linux博客O&ped3T5R!U#Xqs
iReturn=objShell.Run("cmd.exe/Cmde:b",0,TRUE)
将上面的内容复制,
:f2V0cc(}7OGjn5L^0192.168.1.61idiskbootcfg.ini改成你自己要运行的批处理名字
2T4|KGe0保存为vbs文件(例如:1.vbs)linux博客[P/I(C3v$aJ
然后运行看下效果吧~linux博客^b+e2Rp'~l
将boot.txt下载后改名为.exe运行后导入注册表
并修改copy192.168.1.61idiskboot*.*c:boot为实际路径
boot1脚本
DIMobjShell
^frZ"he[9t1^'{0setōbjShell=wscrīpt.createObject("wscrīpt.shell")linux博客q-}5mxhNy]KA7f
iReturn=objShell.Run("cmd.exe/Cc:bootARPClient.exe",0,TRUE)
]r4{kV{.T3Ke0
【用vbs脚本实现运行DOS批处理不再出现黑屏cmd窗口】相关文章:
上一篇:
多进程的实现投票的vbs脚本