厭倦了「開始 → 關機 → 確定」三步驟?一個桌面捷徑讓你雙擊即關機,更可自訂倒數秒數、強制關閉程式、顯示提示訊息。
shutdown -s -t 0-s 關機,-t 0 延遲 0 秒立即執行。| 目標字串 | 效果 |
|---|---|
shutdown -s -t 30 | 30 秒後關機 (彈出倒數視窗) |
shutdown -r -t 0 | 立即重新開機 |
shutdown -l | 登出目前使用者 |
shutdown -h | 休眠 (需系統支援) |
shutdown -f -s -t 0 | 強制關閉程式並立即關機 (不存檔警告) |
| 60 秒後關機並顯示自訂訊息 | |
shutdown -a | 取消已排程的關機/重開機 |
shutdown、引數:-s -f -t 0。auto_off.bat:@echo off
shutdown -s -f -t 300 -c "5分鐘後自動關機"一個捷徑、幾個參數,掌握關機主動權,告別繁瑣選單。