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

Windows 7 定時關機指令教學:shutdown 參數完整解析

編輯:Windows 7 系統介紹

控制孩子上網時間、下載完成自動關機、省電環保,Windows 7 內建 shutdown 指令即可輕鬆實現定時關機,無需第三方軟體。

操作步驟

1. 按 Win + R 開啟「執行」,輸入:

shutdown -s -t 3600

參數說明:
• -s:關機
• -t 3600:倒數秒數(3600 秒 = 60 分鐘 = 1 小時)
• 2 小時請用 7200,30 分鐘用 1800,依需求調整。

執行 shutdown 指令

2. 按確定,通知區提示「Windows 將在 60 分鐘後關機」。

關機提示

倒數通知

最終提醒

常用參數延伸

  • shutdown -a:取消已排程的關機
  • shutdown -r -t 0:立即重新開機
  • shutdown -h:休眠
  • shutdown /f:強制關閉應用程式(配合 -s 使用)

進階:建立捷徑或批次檔(.bat)置於桌面,雙擊即可一鍵定時關機。搭配工作排程器可實現每日固定時間自動關機。

Copyright © Windows教程網 All Rights Reserved