0$房天下问答|编程高手看下!帮个忙!$https://m.fang.com/ask/ask_1763844.html$https://static.soufunimg.com/common_m/m_public/201511/images/asksharedefault.png
packc/pages/ask/detail/detail?askid=1763844
-
编程高手看下!帮个忙!
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也可以终止关机?高手解答下!!
更多
提问者:xwezhuangxc
发布于2011-01-14
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。

关注成功