将notepad++ 添加到右键菜单
由于我使用的notepad++非安装版,每次更换系统都要设置一遍注册表。
新建文本文档,将以下内容添加,保存,更改后缀为Reg,运行。
其中"D:\Tool\notepad++\notepad++.exe"是我的文件路径。
注册右键
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT*\shell\NotePad++] @="NotePad++" "Icon"="D:\Tool\notepad++\notepad++.exe" [HKEY_CLASSES_ROOT*\shell\NotePad++\Command] @="\"D:\Tool\notepad++\notepad++.exe\" \"%1\""
卸载右键
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT*\shell\NotePad++]