1. 程式人生 > >Win10 NotePad++ “ShellExecute failed (2): Is this command correct?”

Win10 NotePad++ “ShellExecute failed (2): Is this command correct?”

問題:

右鍵點選->Edid With Notepadd ++ 然後出現 "ShellExecute failed(2): Is this command correct?"

解決辦法:

1. 開啟登錄檔(win+R, 輸入"regedit"),

2. 到 HKEY_CLASSES_ROOT 下

3. 用關鍵字"notepad++.exe"搜尋(Ctrl+F), 找到有 Title = "Edit with Notepad++" or "Edit with &Notepadd++的記錄

4. 把整條記錄刪掉,例如上面圖片的 {B298D29A-A6Ed.......} 的這個目錄下的全部內容刪掉.

當然可以先備份, <檔案> -> <匯出>

5. 到 HKEY_CLASSES_ROOT\*\shell記錄

6.

a. 在  Shell 下面新建 "OpenWithNotepad"專案,設定 (預設) 的值為 "Edit with Notepad".

右邊新建 字串值, 名為"Icon",值為 notepad++.exe的執行路徑, 例如: "C:\Program Files (x86)\Notepad++\notepad++.exe"

b. "OpenWithNotepad" 下面新建"Command"專案, (預設) 的值為 notepad++.exe的執行路徑, 例如: "C:\Program Files (x86)\Notepad++\notepad++.exe"



本人親測有效..網上還有很多什麼卸了重灌的方法,試了,沒有效果.感謝大神的分享拯救了我的notepad++.