内容目录
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) + "愚人 "
把以上内容复制到记事本,选另存为,文件名为xx.vbs xx是你自己命的名字,后缀一定要为 .vbs
然后点击该文件 ,你就会被提示一步步自动关机了。(重要资料,软件运行时慎用)
对硬件不会有什么伤害吧
没有呀,这跟关机差不多,可以偶尔玩玩。嘿嘿