Windows 8/8.1 內建工作排程器可設定定時自動關機/重啟,無需第三方軟體,適合下載完成後關機、定時維護等場景。
shutdown/s /t 60 /c "排程關機,60秒後執行"/s 關機、/r 重啟、/h 休眠/t xxx 等待秒數 (預設 30 秒)/c "訊息" 顯示倒數訊息
shutdown /s /f /t 0shutdown /s /t 60shutdown /r /t 30shutdown /a進階用法:可建立多個排程 (平日/假日不同時程),或搭配事件觸發 (如特定事件 ID 發生時關機)。