win8,右键添加notepad++
2016-03-04 15:55 sophia194910 阅读(430) 评论(0) 编辑 收藏 举报1.下载并安装notepad++
2.创建txt文件test1.txt,内容如下:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\Shell\NotePad++] [HKEY_CLASSES_ROOT\*\Shell\NotePad++\Command] @="\"D:\software\notepad++\npp_6.9_Installer.1456209569.exe\" \"%1\""
注:
D:\software\notepad++\npp_6.9_Installer.1456209569.exe\为notepad++ exe文件存放在电脑上的位置,请根据具体情况更改。
3.修改文件后缀为test1.reg
4.双击test1.reg
5.选择一个文件,右键选择notepad++打开,弹出:
该文件没有与之关联的程序来执行该操作。请安装一个程序,或者,如果已安装程序,请在“默认程序”控制面板中创建关联。解决方法如下:
1)创建txt文件test2.txt,内容如下:
Windows registry editor version 5.00 [hdey_classes_root.exe] @=“exefile” “content type”=”application/x-msdownload” [hkey_classes_root.exepersistenthandler] @=”{0910f2470-bae0-11cd-b579-010002b30bfeb}”
2)修改文件后缀为test2.reg
3)双击test2.reg
我所喜欢的生活,在混沌中顿悟,和喜欢的一切在一起。