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

alt text

I like how Windows 7 (and Vista) have the convenient 'New Folder' button. Is it possible to have a similar 'New File' button. If it creates a file and then automatically triggers the renaming action so you can rename the file, that would be perfect.

I know it is possible for certain file types to have special actions assigned, but not just for a generic directory.

share|improve this question
But what file type? I get that you could determine that through renaming, but for a lot of file types: a file with zero data does not equate to an blank format – Jay May 3 '10 at 1:31
Windows files need some sort of extension, so it needs to be specified first, so this would be quite difficult. It would be easier with a unix based operating system which are not extension dependent – lavamunky May 7 '10 at 0:25
a completely 0-byte file. – Alec Gorge May 15 '10 at 2:08
up vote 1 down vote accepted

You can add custom buttons to Windows Explorer:

Add a Custom Command Button to the Windows 7 Explorer Toolbar

See this article for the details, you need to add keys to the registry, and you'll need some sort of Command to actually do the work.

You might want something as simple as a batch file somewhere that just creates an empty file:


COPY /Y null %1\new.txt

Would do, and would create an empty (zero-byte) file at the specified location.

share|improve this answer
awesome. simply awesome. thanks! – Alec Gorge May 7 '10 at 19:51

May be this helps a bit ---> Adding Toolbar Buttons.

share|improve this answer

You must log in to answer this question.

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