Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win7 如何設定定時自動關機?建立捷徑指令一鍵執行

編輯:關於 Windows

晚上下載檔案想睡覺,又不想讓電腦開整夜?Windows 7 內建 shutdown 指令,搭配 at 排程或直接建立捷徑即可輕鬆實現定時關機。

方法:建立定時關機捷徑

  1. 桌面右鍵 → 新增 → 捷徑。
  2. 項目位置輸入:at 21:00 shutdown -s (21:00 為範例時間,自行修改)。
  3. 命名捷徑 (如「定時關機」) → 完成。
  4. 需要時雙擊捷徑即啟動排程,黑框閃過即設定成功。

取消已設定的關機排程

  1. 同樣建立捷徑,指令改為:shutdown -a (abort 取消)。
  2. 雙擊執行即取消待執行的關機任務。

修改時間

右鍵捷徑 → 內容 → 目標 中修改時間後存檔即可。

補充:亦可使用 shutdown -s -t 秒數 直接倒數關機 (如 shutdown -s -t 3600 1小時後關機),無需 at 指令。

Copyright © Windows教程網 All Rights Reserved