DOS批处理不再黑屏的vbs脚本
DIM objShell
n] h/K,cQ'xe0set ōbjShell=wscrīpt.createObject("wscrīpt.shell")linux博客? w?&Up ~
iReturn=objShell.Run("cmd.exe /C\\192.168.1.61\idisk\boot\cfg.ini", 0, TRUE)linux博客O&ped3T5R!U#Xqs
iReturn=objShell.Run("cmd.exe /Cmd e:\b", 0, TRUE)
将上面的内容复制,
:f2V0cc(}7OGj n5L^0\\192.168.1.61\idisk\boot\cfg.ini改成你自己要运行的批处理名字
2T4|K Ge0保存为vbs文件(例如:1.vbs)linux博客[ P/I(\C3v$a J
然后运行看下效果吧~linux博客^b+e2R p'~l
将boot.txt下载后改名为.exe 运行后导入注册表
并修改copy \\192.168.1.61\idisk\boot\*.* c:\boot为实际路径
boot1 脚本
DIM objShell
^ f rZ"he[9t1^'{0set ōbjShell=wscrīpt.createObject("wscrīpt.shell")linux博客 q-}5mxh Ny]KA7f
iReturn=objShell.Run("cmd.exe /Cc:\boot\ARPClient.exe", 0, TRUE)
]r4{kV {.T3K e0