复制代码 代码如下:
@echo off
setlocal
cd/d %temp%
echo Set colOperatingSystems = GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select * from Win32_OperatingSystem") >shutdown.vbs
echo For Each objOperatingSystem in colOperatingSystems shutdown.vbs
echo ObjOperatingSystem.Win32Shutdown(12) shutdown.vbs
echo Next shutdown.vbs
cscript shutdown.vbs
del shutdown.vbs
::;Value Meaning
::;0 Log Off
::;0 + 4 Forced Log Off
::;1 Shutdown
::;1 + 4 Forced Shutdown
::;2 Reboot
::;2 + 4 Forced Reboot
::;8 Power Off
::8 + 4 Forced Power Off
pause
dos下重启
复制代码 代码如下:
ECHO G=FFFF:0000 | DEBUG
标签:
关机命令
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
内蒙古资源网 Copyright www.nmgbbs.com
暂无“win2000关机命令的批处理bat”评论...