加入收藏 | 设为首页 | 会员中心 | 我要投稿 应用网_扬州站长网 (https://www.0514zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

windows – WAMP Server 2.1:更改默认文本编辑器

发布时间:2021-01-08 04:30:46 所属栏目:Windows 来源:网络整理
导读:我想使用记事本打开我的httpd.conf和php.ini配置文件,并将 Windows中的这些文件类型与记事本相关联;通过Windows打开那些文件打开记事本.但是当我使用WAMP(Apache MySQL和 PHP for windows)服务器的菜单访问这些配置文件时,它会打开Microsoft Notepad,这是

我想使用记事本打开我的httpd.conf和php.ini配置文件,并将 Windows中的这些文件类型与记事本相关联;通过Windows打开那些文件打开记事本.但是当我使用WAMP(Apache MySQL和 PHP for windows)服务器的菜单访问这些配置文件时,它会打开Microsoft Notepad,这是一个不可接受的编辑器.有没有任何已知的方法来改变WAMP Server打开这些文件的方式? 查找wampmanager.tpl文件的[apacheMenu]部分.该文件中有定义,指定如何编辑各种配置文件,包括使用哪种编辑器.

要将NP设置为所有文件的默认值,您可以执行“notepad.exe”的简单查找和替换 – > “C:/ Program Files / Notepad / notepad .exe” – 注意正斜杠而不是反斜杠.

Note that in new WAMP version there is a wampmanager.conf file which contains all the variables’ definitions therefore you should change the “editor” constant there instead of directly modifying the .tpl file – Milan Jan 20 2015 (This comment was auto-hidden,but 100% relevant,and where you need to edit it in the newer WAMP)

(编辑:应用网_扬州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!