Sign up ×
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

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

You can go in the powershell or the command prompt and use the following command:

fsutil file createnew name.ext 0
share|improve this answer
I have restructured your post as it was flagged as low quality, if you feel it's too radical a change, please roll back or edit it. – Shekhar Nov 4 at 19:49

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.