电脑定时关机 重启!方便你控制电脑的BAT文件。

有时候,可能电脑要晚点才关机。
而你却要早睡啦。这时候就需要一个定时关机命令!
a取消之前的注销命令.bat
:shutdown /a
一个小时后关机.bat
:shutdown /s /t 3600 /c 一个小时后关机!!!
一个小时后重启.bat
:shutdown /r /t 3600 /c 一个小时后重启!!!
两个小时后关机.bat
:shutdown /s /t 7200 /c 两个小时后关机!!!
两个小时后重启.bat
:shutdown /r /t 7200 /c 两个小时后重启!!!
半小时后关机.bat
:shutdown /s /t 1800 /c 半小时后关机!!!
半小时后重启.bat
:shutdown /r /t 1800 c 半小时后重启!!!
/s 是关机 /r 是重启
/t是倒计时的意思。以秒为单位!
1800半小时后执行操作!
3600一小时后执行操作!
7200两小时后执行操作!
and so on!

猜你喜欢

转载自blog.csdn.net/weixin_42859280/article/details/83501374