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.

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
2  
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

2 Answers 2

up vote 1 down vote accepted
+100

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:

[newfile.bat]:

@ECHO OFF
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

Your Answer

 
discard

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.