这是用VB编写的。下面是全部代码。下载后右键编辑,可随意查看是否一致。文字可以随意修改。
do while(a <> "哥哥好")
a = inputbox ("说:哥哥好
这两句的内容保持一致即可,你也可以修改得更恶搞一点,比如
do while(a <> "亲爱的好")
a = inputbox ("说:亲爱的好,不说就关你的机,快说!! ","牛不牛","牛",8000,7000)
-r -t 600 -c
600是时间,单位为秒,可以在1-600之间!
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 600 -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) + "早点说就OK了!"
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,呵呵呵呵..真过瘾..."