代码
[mw_shl_code=css,true]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) + "- 哈哈我笑了 -"[/mw_shl_code] |