shutdown 參數不分大小寫,批次檔註解用 ::。
/s 關機、/r 重開機、/g 重開機並重啟註冊應用、/a 取消關機、/p 立即關機、/h 休眠、/t 秒數 設定倒數(0~315360000,預設 30)、/c "原因" 註釋、/f 強制關閉程式。at 24:00 shutdown -s(需啟用 Task Scheduler)shutdown -s -t 7200shutdown -ashutdown -iat 12:45 shutdown -s -t 20(12:45 關機,倒數 20 秒)at 8:10 rundll32 powrprof.dll,SetSuspendStatepowercfg -h on/off