on error resume next dim WSHshellA set WSHshellA = wscript.createobject("wscript.shell") WSHshellA.run "cmd.exe /c shutdown -r -t 30000 -c "&qu... 展开
on error resume next dim WSHshellA set WSHshellA = wscript.createobject("wscript.shell") WSHshellA.run "cmd.exe /c shutdown -r -t 30000 -c ""输入密码!!!···""",0 ,true dim a do while(a <>"258204991") a = inputbox ("输入密码!!!就不关机 """"","输入密码!!!","错误",8000,7000) msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"loop msgbox chr(13) + chr(13) + chr(13) + "系统开启!"dim WSHshellset WSHshell = wscript.createobject("wscript.shell")WSHshell.run "cmd.exe /c shutdown -a",0 ,true msgbox chr(13) + chr(13) + chr(13) + "请使用!"怎么写可以让多个密码都可以终止关机?比如我输入258204991可以终止关机,输入2582也可以终止关机?高手解答下!! 收起