用vbs脚本实现运行DOS批处理不再出现黑屏cmd窗口
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
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
相关推荐
smalllove 2020-11-03
wuhuaguwuhuaguo 2020-09-15
guying 2020-08-16
wqcong 2020-06-14
chenzhiwei 2020-06-13
talkingDB 2020-05-05
83206837 2020-05-01
Yasin 2020-03-03
Amzaing00 2020-01-06
GechangLiu 2020-01-05
shenghua 2013-03-27
文山羊 2019-12-16
乾坤一碼農 2019-12-11
dongxurr 2019-12-09
bluestartlxp 2019-11-27
86427217 2015-04-18
thankinglove 2015-09-06
圆圆的世界CSDN 2019-11-07
longxiang 2010-04-07