Windows10 軟體新增右鍵選單

2022-06-02 10:39:07 字數 1888 閱讀 3007

windows10 為某軟體新增右鍵(包括檔案、目錄、桌面(目錄內)的空白位置)選單

下文以typora為例,其他軟體模擬操作。

具體操作步驟如下:

(1)桌面新建乙個txt檔案,檔名隨便(例如:1024.txt)。

(2)複製以下內容,貼上到txt檔案中。

windows registry editor version 5.00

[hkey_classes_root\*\shell\vscode]

@="open with code"

[hkey_classes_root\*\shell\vscode\command]

windows registry editor version 5.00

[hkey_classes_root\directory\shell\vscode]

@="open with code"

[hkey_classes_root\directory\shell\vscode\command]

windows registry editor version 5.00

[hkey_classes_root\directory\background\shell\vscode]

@="open with code"

[hkey_classes_root\directory\background\shell\vscode\command]

(3)獲取欲新增右鍵的應用軟體具體安裝路徑

3.1 點選選中應用軟體圖示,

右鍵屬性

3.2 找到目標標題。複製目標的內容值

(4)利用上步複製的內容值,替換txt檔案中的對應安裝路徑內容

4.1 注意:替換之前將安裝路徑中的斜槓都新增為雙斜槓,因為reg格式檔案字串的必要。

複製到的內容:d:\program files\typora\bin\typora.exe

新增完雙斜槓:d:\\program files\\typora\\bin\\typora.exe

4.2 替換安裝路徑

4.3 替換應用程式名稱:因為這個右鍵最終想開啟的軟體是typora,所以期望右鍵看到的是open with typora

(5)更改檔案格式。因為只有reg格式是計算機執行可識別的,所以需要修改txt格式為reg格式。

注意:如果看不到檔案格式字尾,windows10系統檢視並開啟方式如下圖:

(6)執行新增。一切準備就緒,雙擊reg格式的檔案,會自動執行新增過程。

(7)執行會彈出乙個提示對話方塊,選擇【是】即可。如下圖:

(8)驗證結果。有問題建議再覆盤如上操作步驟。

桌面右鍵,可以看到目前新增的兩個應用軟體的效果圖:

順序 選擇 迴圈 總結

windows 10右鍵項新增Notepad

1.開啟登錄檔編輯器,開始 執行 regedit。2.在hkey classses root shell 下,在shell下,新建項命名為open with notepad 在該新建項的右邊視窗新建字串值 右鍵 新建 字串值 名稱 icon 值 d software notepad notepad ...

Windows10右鍵新增「在此處開啟命令視窗」

由於現在win10預設右鍵只有powershell,所以為了以後方便使用就把右鍵新增 在此處開啟命令視窗 的 分享出來。第一步 新建乙個txt檔案,命名為cmdhere.txt 第二步 重點 要用記事本開啟,不要用notepad開啟 輸入如下 windows registry editor vers...

Windows10右鍵新增「在此處開啟命令視窗」

第一步 新建乙個txt檔案,命名為opencmdhere.txt 第二步 在檔案中輸入如下 並儲存 windows registry editor version 5.00 hkey classes root directory shell opencmdhere 在此處開啟命令視窗 icon cm...