1.添加notpad++
新建txt文本, 将以下内容复制到文本中:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\Shell\NotePad++]
[HKEY_CLASSES_ROOT\*\Shell\NotePad++\Command]
@="\"F:\\notepad\\Notepad++\\notepad++.exe\" \"%1\""
其中"F:\\notepad\\Notepad++\\notepad++.exe"是你的notepad执行文件的全路径,这里需要修改成你自己的时间路径。
然后保存该txt文件,将此txt文件的后缀修改成.reg文件,双击执行即可。
2.删除notepad++
新建txt文本, 将以下内容复制到文本中:
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\NotePad++]
然后保存该txt文件,将此txt文件的后缀修改成.reg文件,双击执行即可。