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

Windows 7 定時關機兩大法:工作排程器與 shutdown 指令

編輯:關於 Windows

Windows 7 無內建定時關機工具,但可用「工作排程器」或 shutdown 指令達成,無需第三方軟體。

方法一:工作排程器(適合固定排程,如每天固定時間)

  1. 右鍵「電腦」→「管理」→「工作排程器」→「建立基本工作」
  2. 命名、描述 → 下一步
  3. 觸發條件選「每天」→ 設定具體時間
  4. 動作選「啟動程式」→ 程式輸入 shutdown,引數輸入 -s -f -t 120
  5. 完成建立

方法二:shutdown 指令(適合臨時一次性需求)

  1. Win+R 輸入 cmd
  2. 輸入 shutdown -s -t 3600(3600 秒 = 1 小時後關機)
  3. 取消關機:shutdown -a

shutdown 參數說明

參數功能
-s關機
-r重新開機
-t 秒數倒數秒數
-a中止關機
-f強制關閉應用程式

建議固定排程用方法一,臨時需求用方法二。

Copyright © Windows教程網 All Rights Reserved