在记事本输入以下代码。保存保存类型:所有文件,后缀:.vbe。点开运行就可以了。
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) + "亲爱的亲爱的亲爱的~"
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) + "亲爱的亲爱的亲爱的~"