Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to use Notepad++ to open my httpd.conf and php.ini configuration files and have associated those file types in Windows to Notepad++; opening those documents via windows opens Notepad++. But when I use WAMP Server's menu to access these config files it opens Microsoft Notepad, an unacceptable editor. Is there any known way to change how WAMP Server opens these files?

share|improve this question

closed as off topic by MDMarra, Michael Hampton, mdpc, Dave M, Khaled Feb 8 at 18:33

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

up vote 5 down vote accepted

Look for the [apacheMenu] section of your wampmanager.tpl file. There are definitions in that file that specify how to edit various configuration files including what editor to use.

To set NP++ as the default for all the files you can do a simple find-and-replace of "notepad.exe" --> "C:/Program Files/Notepad++/notepad++.exe" - note the forward slashes instead of backslashes.

share|improve this answer
2  
Technically the wampmanager.tpl file has to be edited, the .ini is regenerated every time WAMP starts from that file. Thanks for pointing me in the right direction though. – Ben Brocka Aug 10 '11 at 15:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.