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

揭開 Windows XP 不為人知的 5 個小祕密 (2/2):一鍵關機捷徑製作

編輯:XP 系統基礎知識

3. 一鍵關機捷徑

  1. 桌面右鍵 → 新增 → 捷徑。
  2. 位置輸入:shutdown -s -t 0 (參數:-s 關機、-t 0 秒延遲)。
  3. 命名「一鍵關機」 → 完成。
  4. 雙擊即刻關機,免去開始功能表多層點擊。

進階參數

  • shutdown -r -t 0:重新開機。
  • shutdown -l:登出。
  • shutdown -h:休眠 (需啟用休眠)。
  • shutdown -f:強制關閉應用程式 (搭配 -s/-r 使用)。
  • shutdown -c "訊息":關機對話框顯示自訂訊息。

結語

一個捷徑、一行指令,將關機動作從 3 次點擊縮減為 1 次雙擊,累積下來能省下不少時間,也是認識 shutdown.exe 強大功能的入門範例。

Copyright © Windows教程網 All Rights Reserved