萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Windows 7 教學

修改登錄自訂 Win7 桌面右鍵選單:加入常用程式快速啟動器

Win7 桌面右鍵選單預設項目固定,無法直接新增程式捷徑。透過修改登錄註冊 CommandStore\shell 鍵值,可在桌面右鍵選單建立多層級「應用程式啟動器」子選單,放入常用軟體 (瀏覽器、編輯器、BT客戶端、防火牆等),右鍵即達,效率倍增。

登錄結構邏輯

  1. 選單容器: HKEY_CLASSES_ROOT\Directory\Background\shell\App Launcher
    • MUIVerb = 顯示名稱 (如 "App Launcher")
    • SubCommands = 分號分隔的子命令鍵名清單 (如 Opera;Notepad;uTorrent;IE)
  2. 子命令定義 (每個程式一組):
    路徑:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\<命令名>
    • 預設值 = 選單顯示名稱
    • Icon = 圖示路徑 (可指向 .exe 或 .ico)
    • 子鍵 command 預設值 = 完整執行路徑 (含參數)

範例 .reg 檔 (含 5 款常用軟體)

記事本存為 DesktopRightClickLauncher.reg,雙擊匯入:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\App Launcher]
"MUIVerb"="App Launcher"
"SubCommands"="Opera;Notepad;Looknstop;UTorrent;Internet Explorer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Opera]
@="Opera"
"Icon"="C:\\Program Files (x86)\\Opera\\opera.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Opera\command]
@="C:\\Program Files (x86)\\Opera\\opera.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Notepad]
@="Notepad2"
"Icon"="C:\\Program Files (x86)\\Notepad2.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Notepad\command]
@="C:\\Program Files (x86)\\Notepad2.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Looknstop]
@="Look'n'Stop Firewall"
"Icon"="C:\\Program Files\\Soft4Ever\\looknstop\\looknstop.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Looknstop\command]
@="C:\\Program Files\\Soft4Ever\\looknstop\\looknstop.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\UTorrent]
@="µTorrent"
"Icon"="C:\\Program Files (x86)\\uTorrent\\uTorrent.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\UTorrent\command]
@="C:\\Program Files (x86)\\uTorrent\\uTorrent.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Internet Explorer]
@="Internet Explorer"
"Icon"="C:\\Program Files\\Internet Explorer\\iexplore.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Internet Explorer\command]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe"

自訂你的專屬選單

依樣畫葫蘆修改:
1. 更改 SubCommands 清單順序與名稱。
2. 為每個程式建立對應 CommandStore\shell\<名稱> 組,修改 @ (顯示名)、Icon (圖示路徑)、command (執行路徑)。
3. 路徑含空格時需雙反斜線 \\ 轉義,或用短路徑 (8.3 格式)。

進階技巧

  • 加入 Position="Top" 或 "Bottom" 控制選單位置。
  • 加入 Extended="" 值,按 Shift+右鍵才顯示 (減少視覺干擾)。
  • 搭配 HasLUAShield="" 為需管理員權限的程式顯示 UAC 盾牌圖示。

一次匯入,永久生效,無常駐記憶體程式,純登錄驅動,極輕量高效。

copyright © 萬盛學電腦網 all rights reserved