Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Whenever I need to create a C, C++, Batch, HTML, or Javascript file I need to open a new text document and save it with a different file extension. Is there a way I can add a new option to the Right Click->New menu (on a Windows computer) so that I can create a new program file directly from there?

Thanks -Zach

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, Tog, Mokubai, Shekhar, Carl B Oct 14 '13 at 7:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 2 down vote accepted

Create a file, add the content below, save it as whatever.reg, and run it.

Windows Registry Editor Version 5.00


Note: Replace .php with the file extension you want.

enter image description here

I believe this should work for you.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .