求恶搞好友关机的软件
1个回答
展开全部
我们建立一个文本文档把下面的代码输入进入 然后把格式修改成VBS的
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) + "哈哈哈哈,真过瘾"
然后发给好友 好友打开后如果在一分钟内不输入哥哥 两个字那么他的电脑就会关机
猴岛旧爱侵心≈为您解答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询