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 -a 指令一鍵中止

編輯:關於 Windows

執行 shutdown -f -s -t 秒數 設定定時關機後,若需中途取消,在 CMD 輸入 shutdown -a 即可中止排程。

指令參數說明

  • -s:關機
  • -f:強制關閉應用程式不警告
  • -t 秒數:倒數秒數(如 500 代表 500 秒後關機)
  • -a:中止系統關機/重開機排程

操作範例

> shutdown -f -s -t 500
> shutdown -a   :: 取消上述排程

也可建立「取消關機」捷徑指向 shutdown.exe -a,未來一鍵中止。

Copyright © Windows教程網 All Rights Reserved