按键精灵可以关闭电脑吗???

来源:百度知道 编辑:UC知道 时间:2024/06/25 09:35:06
有什么编码可以用按键精灵去关闭电脑呢?

关闭电脑 按键代码
⒈vbscall runapp("shutdown -s -t 0")
⒉vbscall runapp("rundll32.exe user.exe,exitwindows")
⒊vbs set diaolei=createobject("wscript.shell")
diaolei.run "shutdown -s -t 0"
⒋vbs set diaolei=createobject("wscript.shell")
diaolei.run "rundll32.exe user.exe,exitwindows"
任选其一

当然可以,你只要把它的脚本设置好了就OK了