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

Win7/Win8.1 右鍵選單加入「記事本、QQ、截圖、滑動關機」:登錄編輯實戰

編輯:Windows 7 系統介紹

每天重複雙擊圖示開啟記事本、QQ、截圖工具、關機?將常用功能釘在桌面右鍵選單 (Context Menu),滑鼠右鍵即達,效率直線上升!本文教你透過登錄編輯器,為 Win7/Win8.1 手動添加自訂右鍵選單項目,附系統元件路徑速查表。

操作步驟

  1. Win + R → regedit → Enter,開啟登錄編輯器。
    開啟執行 登錄編輯器
  2. 定位至:HKEY_CLASSES_ROOT\Directory\Background\shell
  3. 在 shell 下新增「機碼」作為選單項目名稱 (如 Notepad、QQ、SnippingTool、SlideToShutDown)。
    新增 shell 子機碼
  4. 在每個項目下再新增子機碼 command,雙擊右側 預設 字串值,輸入對應執行檔完整路徑。
    command 子機碼 設定執行路徑

📋 常用系統元件路徑速查表 (Win8.1/Win10 通用)

選單名稱機碼名稱執行路徑 (command 預設值)
記事本NotepadC:\Windows\System32\notepad.exe
截圖工具SnippingToolC:\Windows\System32\SnippingTool.exe
滑動關機 (Win8/8.1/10 專屬)SlideToShutDownC:\Windows\System32\SlideToShutDown.exe
QQ (需自行確認安裝路徑)QQ"C:\Program Files (x86)\Tencent\QQ\Bin\QQ.exe"
計算機CalculatorC:\Windows\System32\calc.exe
命令提示字元CMDC:\Windows\System32\cmd.exe
登錄編輯器RegeditC:\Windows\regedit.exe

💡 進階技巧

  • 加入圖示: 在項目機碼 (如 Notepad) 下新增字串值 Icon,值資料設為執行檔路徑 (如 C:\Windows\System32\notepad.exe),選單將顯示圖示。
  • 控制顯示順序: 預設依字母排序,若想自訂順序,在項目機碼下新增字串值 Position,值資料 Top (置頂) 或 Bottom (置底)。
  • 僅在特定條件顯示: 新增字串值 AppliesTo,配合查詢語法 (如 System.FileExtension:.txt) 實現情境式選單。
  • 移除項目: 刪除對應機碼即可 (如 HKEY_CLASSES_ROOT\Directory\Background\shell\Notepad)。

成果展示

設定完成後,桌面空白處右鍵,即可看見自訂選單項目:
自訂右鍵選單成果

結語

幾分鐘編輯登錄,打造專屬高效右鍵選單。告別「開始功能表找程式」、「桌面圖示堆疊」的低效操作,右鍵即達,讓 Win7/Win8.1 更順手!

Copyright © Windows教程網 All Rights Reserved