對右鍵選單「新建」的修改

2022-06-24 23:45:17 字數 2934 閱讀 6267

**:

一、修改「新建」右鍵選單

展開 key_classes_root\directory\background\shellex\contextmenuhandlers

new 鍵    預設鍵值 

以上「預設」鍵值為啟用,顯示「新建」右鍵選單;

清除「預設」鍵值為禁用或刪除new鍵,右鍵選單「新建」消失。

如new鍵丟失,在其下可新建new鍵,在右邊輸入預設鍵值 。

二、新增「新建」二級選單 

新增新建中的選項,涉及到副檔名,還涉及到檔案程式啟動時的情形,有的程式啟動時就自動開啟了空白檔案,如記事本、寫字板或畫圖等,有的程式啟動時卻不能自動開啟空白檔案。兩種不同的情形,其具體操作方法也有所不同。但不論哪種情形,在登錄檔中,它們都是在hkey_classes\root的下面操作的。    

1、程式啟動時自動開啟空白檔案 (如,新增「記事本」選項)

①展開 hkey_classes\root,找到副檔名.txt,在其下建立「shellnew」;

②再新建字串名「nullfile」,鍵值為空。

2、程式啟動時不會開啟空白檔案 (如,新增「郵件」選項)

①啟動outlook express,點檔案\新建\郵件;再在新視窗中點檔案\另存為,儲存到d盤為「郵件.eml」,獲取完整路徑「d:\郵件.eml」;

②展開hkey_classes\root,在副檔名.eml下建立「shellnew」,再新建字串名為「filename」;

③雙擊「filename」字串圖示,輸入鍵值「d:\郵件.eml」,後按確定(此時可刪除d盤中的「郵件.eml」了)。

①右擊outlook express圖示\屬性,複製「目標」中的:c:\program files\outlook express\msimn.exe;

②按照上面的第二步操作後,雙擊「filename」字串圖示,輸入「鍵值」:c:\program files\outlook express\msimn.exe %1。

三、刪除「新建」二級選單

刪除「新建」二級選單的方法:

方法1,刪除 hkey_classes\root\副檔名\下的shellnew。

方法2,展開 hkey_classes\root\副檔名\shellnew, 刪除右邊的「nullfile」或「filename」。

方法3,將鍵名 shellnew 改為 shellnewold,則不顯示選單。

方法4,用「控制面板」中的「新增/刪除程式」功能,解除安裝整個應用程式。同時也將「新建」選單的檔案列表中的相應專案刪除了。 

方法5,刪除軟體殘餘。如果您自行解除安裝軟體後,該檔案型別的選單選項仍然存在,

進入資源管理器,在資料夾選項中,選擇「檔案型別」,右鍵刪除副檔名。

方法6,刪除公文包:刪除hkey_classes_root\briefcase\下的shellnew。

常見檔案在登錄檔中的位置:

網頁檔案:刪除 hkey_classes\root\.htm 下的「shellnew」 或 字串「nullfile」

網頁檔案:刪除 hkey_classes\root\.html 下的「shellnew」 或 字串「nullfile」

文字檔案:刪除 hkey_classes\root\.txt   下的「shellnew」 或 字串「nullfile」

壓縮檔案:刪除 hkey_classes\root\.zip   下的「shellnew」 或 字串「filename」

壓縮檔案:刪除 hkey_classes\root\.rar   下的「shellnew」 或 字串「filename」

word文件:刪除 hkey_classes\root\.doc\word.document.8  下的「shellnew」或 字串「filename」

演示文稿: 刪除 hkey_classes\root\.ppt\powerpoint.show.8 下的「shellnew」或 字串「filename」

電子**: 刪除 hkey_classes\root\.xls\excel.sheet.8         下的「shellnew」或 字串「filename」

說明:hkey_current_user\software\microsoft\windows\currentversion\explorer\discardable\postsetup\shellnew

這個位置右邊是「新建」二級選單,但有的無法刪除,有的刪除了也會自動恢復!

刪除二級選單「新建資料夾」和「新建快捷方式」,也無能為力!

恢復右鍵選單的「新建」選項

剛剛在用網上下的乙個右鍵選單管理工具,結果折騰的右鍵選單裡面 新建 沒有了,只好求助網路了。還好很快找到了解決辦法 主要就是安裝乙個inf檔案,主要 是 version signature chicago defaultinstall addreg my.add.reg my.add.reg hkc...

恢復右鍵選單的「新建」選項

剛剛在用網上下的乙個右鍵選單管理工具,結果折騰的右鍵選單裡面 新建 沒有了,只好求助網路了。還好很快找到了解決辦法 主要就是安裝乙個inf檔案,主要 是 version signature chicago defaultinstall addreg my.add.reg my.add.reg hkc...

去掉右鍵新建選單多餘內容

win10系統,右鍵 新建多了一些無用的選單,去掉辦法如下 1.開啟regedit,展開到hkey current user software microsoft windows explorer discardable postsetup shellnew 2.右側classes這個鍵雙擊開啟,裡...