Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Right now, when creating a file of some format (e.g. PHP files) in Windows Explorer, I always have to use "Create new text file" to create a file and then rename it (often via console, because extensions are hidden - I know I could disable that feature).

Is there a way to simply add an option to create a new file of any type that simply lets me type in the extension?

share|improve this question

4 Answers 4

up vote 1 down vote accepted

Sometimes i open cmd in this folder and type something like

copy nul filname.ext

this hint create empty file with extension that you need.

share|improve this answer

Here's a tutorial you may find interesting:

Add items in New option of context menu in Windows Explorer or on desktop.

share|improve this answer

I just went for showing file extensions again.

share|improve this answer

If you load up a blank document in notepad, fill in some content, and hit save.. in the save dialog change the file type to "All Files", then give the file a name (including the extension, like "my file.php").

share|improve this answer
Yes, I know, but that is exactly what I do not wanna do. –  Franz Feb 27 '10 at 11:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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