1.创建Notepad++.reg文件
2.复制以下内容到文件中
路径更改为自己本地路径
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\NotePad++]
@="Notepad++"
"Icon"="D:\\download\\Notepad++\\notepad++.exe,0"
[HKEY_CLASSES_ROOT\*\shell\NotePad++\Command]
@="D:\\download\\Notepad++\\notepad++.exe %1"
3.双击执行此文件