|
发表于 2016-10-22 14:41:34
|
显示全部楼层
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""快叫我爸爸""
",0 ,true
dim a
do while(a <> "爸爸")
a = inputbox ("快叫我""爸爸"" ","叫","就不叫",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) + "好孩子,呵呵" |
|