设置Win 7关机命令行
2018-05-29 本文已影响4人
汤圆酱
文/峰峰吖
大多数办公文员使用的电脑都带有办公软件,其中大多数人使用的都是win7操作系统的电脑
大家在关闭计算机时都会在控制面板中,其实windows提供了很多命令行的操作(DOS),定时关机的命令可以通过点鼠标来完成,但更方便的方法是通过DOS命令来完成

温馨提示:只适用于win7操作系统

使用组合快捷键 win+R , 或者点击“开始”-> "运行" , 在框里输入cmd回车

就会弹出一个黑色的窗口, 这就到了命令行模式啦. 我们的DOS

想要在某个时间段内关机,可以输入命令:shutdown -s -t +时间。例如我们输入:shutdown -s -t 60,然后回车,说明系统将在60S(一分钟)后定时关机, 这个时间单位是秒。

at 22:00 shutdown -s表示计算机将在今晚22点自动关机。

如果不小心把命令输错了· 还可以执行一条命令来解除关机指令:
shutdown -a

