Windows 8 滑鼠右鍵選單可自訂加入常用程式 (記事本、QQ、截圖工具、滑動關機等),透過登錄 HKEY_CLASSES_ROOT\Directory\Background\shell 新增機碼即可實現。
regedit 開啟登錄編輯器。
HKEY_CLASSES_ROOT\Directory\Background\shellshell 右鍵 → 「新增」→ 「機碼」,名稱為程式顯示名稱 (如 Notepad, QQ, SnippingTool, SlideToShutDown)。
command。command 的 預設值,輸入程式完整路徑 (可右鍵程式捷徑 → 「內容」→ 「複製路徑」) :"C:\Windows\System32\notepad.exe""C:\Windows\System32\SnippingTool.exe""C:\Windows\System32\SlideToShutDown.exe""C:\Program Files (x86)\Tencent\QQ\Bin\QQ.exe"Notepad) 新增字串值 Icon,值為 C:\Windows\System32\notepad.exe,0 (路徑 + 圖示索引)。Extended (無需數值),該項目僅在按住 Shift 右鍵時顯示,避免選單過長。_ 開頭 (如 _Separator) 可產生分隔線效果 (視 Shell 版本支援度)。shell 分支備份。Program Files (x86),請確認正確路徑。