Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 自動關機設定教學:命令列與工作排程器雙法

編輯:Win7 常見問題解答

Win7 設定自動關機有兩種常用方法:

方法一:shutdown 指令

  • 指定時間關機:Win+R 輸入 at 23:00 shutdown -s(24小時制),需「工作排程器」服務啟動。
  • 倒數關機:shutdown -s -t 1800(1800秒=半小時),托盤彈出提醒。
  • 取消關機:shutdown -a。

方法二:工作排程器建立任務

  1. 右鍵「電腦」→「管理」→「工作排程器」→右側「建立基本工作」。
  2. 命名、描述,觸發條件選「每天」,時間設 23:00:00。
  3. 動作選「啟動程式」,程式:C:\Windows\System32\shutdown.exe,引數:-s -t 0。
  4. 完成,可在「工作排程器程式庫」修改/刪除任務。

小工具推薦

軟媒魔方「軟媒時間」可自訂任務列時鐘樣式,功能豐富。

Copyright © Windows教程網 All Rights Reserved