用记事本书写这段代码
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) + "哈哈哈哈,
http://ruohe.qzone.qq.com欢迎你常来"
特别注意 保存的格式一定要是*****.vbs
****是你想存的名字!