发布时间:2025-12-09 16:41:29 浏览次数:5
| 1 | shutdown -s -t 0 | s:表示shutdown,关机; t:表示time,关机时间,单位秒; 0:表示关机时间,立刻关机; |
| 2 | shutdown -r -t 5 | r:表示restart,重启; t:表示time,重启时间,单位秒; 5:表示重启时间,5秒后重启; |
| 3 | shutdown.exe -a | 取消关机; |
| 4 | shutdown.exe -s | 关机; |
| 5 | shutdown.exe -f | 强行关闭应用程序; |
| 6 | shutdown.exe -m \计算机名 | 控制远程计算机; |
| 7 | shutdown.exe -l | 注销当前用户; |
| 8 | shutdown -r | 关机并重启; |