註冊滑鼠右鍵

2022-05-02 01:30:10 字數 966 閱讀 2320

這裡分享如何往滑鼠右鍵中新增選項。

win鍵+r,輸入regedit。

找到hkey_classes_root -->  * --> shell,右鍵shell,然後新建項,然後寫乙個名字,這裡我寫的是,power shell。

點選右邊的"預設",填入「用power shell開啟(&k)」,其中「用power shell開啟」是名字,「k」是快捷鍵。

同上,右鍵power shell資料夾,新建項,取名為command,不區分大小寫。

同上,點選右邊的「預設」,填入「完整的路徑  %1」,其中「%1」表示被右鍵的檔案的絕對路徑,作為可執行文的引數。

至此,右鍵某個檔案可在選單欄看到"用power shell開啟(k)"。

前面並沒有圖示,右鍵power shell --> 新建-->字串值,填入"icon"。再在右邊填入.ico型別的檔案的絕對路徑,例如,我隨便找了一張

此時,看看效果:

按上述步驟得到的只是右鍵某個檔案時的功能,除此之外,用同樣的方法修改如下所示的檔案可得到其它效果:

1、2、

登錄檔和滑鼠右鍵選單

登錄檔修改滑鼠右鍵選單一般執行regedit到hkey classes root shell這個下面找 1 滑鼠右鍵桌面空白處,新建選單中的專案在登錄檔中的位置 hkey current user software microsoft windows currentversion explorer ...

清除滑鼠右鍵

清除滑鼠右鍵選單中多餘項的操作步驟如下 1 在系統桌面上單擊 開始 執行 項。2 在隨後出現的視窗中的 開啟 欄中鍵入regedit並單擊 確定 按鈕執行登錄檔編輯器。3 在登錄檔的hkey current user software microsoft internet explorer menu...

禁止滑鼠右鍵

禁止滑鼠右鍵 nc ntextmenu return false 禁止選擇 onselectstart return false 禁止拖放 ndragstart return false 禁止拷貝 nc py document.selection.empty 禁止複製 oncopy return f...