复制以下内容,并将
"Icon"="D:\Software\Notepad++\notepad++.exe"
@="“D:\Software\Notepad++\notepad++.exe” "%1""
修改为自己NotePad++的位置
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\NotePad++]
@="NotePad++"
"Icon"="D:\\Software\\Notepad++\\notepad++.exe"
[HKEY_CLASSES_ROOT\*\shell\NotePad++\Command]
@="\"D:\\Software\\Notepad++\\notepad++.exe\" \"%1\""
桌面新建.txt文件,粘贴到.txt文件文件中
再将文件后缀名.txt 修改为.reg ,双击运行即可