2011-08-21
展开全部
VBS脚本,创建一个文本文件,复制粘贴如下代码,然后另存为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) + "哈哈哈哈"
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询