1. 程式人生 > WINDOWS開發 >windows登錄檔刪除右鍵選單

windows登錄檔刪除右鍵選單

1.刪除空白處右鍵選單

HKEY_CLASSES_ROOT\Directory\background\shell
HKEY_CLASSES_ROOT\Directory\background\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Folder\background\shell
HKEY_CLASSES_ROOT\Folder\background\shellex\ContextMenuHandlers

2.刪除資料夾右鍵選單

HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers
HKEY_CLASSES_ROOT\Folder\shell
HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers

3.刪除檔案右鍵選單

[具體檔案格式字尾]為*時,所有格式檔案都有該右鍵選單
HKEY_CLASSES_ROOT\[具體檔案格式字尾]\shellex\ContextMenuHandlers

shell和shellex區別

shell資料夾中定義的選單,在右鍵上直接顯示
shellex資料夾中定義的選單,在右鍵上顯示為多級選單

Directory和Folder區別

Directory資料夾內定義的選單,在所有資料夾(除了我的電腦右鍵)右鍵中顯示
Folder資料夾內定義的選單,在所有資料夾(包括我的電腦右鍵)右鍵中顯示