Jump to content

Shorcut button to create new text document inside folder, Like New Fol


Recommended Posts

Howdy.

I want to add a button that creates a new text document and put it next to the New Folder button in Windows 7, so that clicking it will give me the same result as right-clicking in the folder and choosing New>Text Document. Basically the exact same thing as the New Folder button, but New Text Document.

I have read this page: http://www.experts-exchange.com/articles/Programming/System/Windows__Programming/Add-a-Custom-Command-Button-to-the-Windows-7-Explorer-Toolbar.html

and this page: http://winjade.net/2008/06/custom-explorer-buttons/

Currently when im in any given folder, i often have cause to create a new notepad file in that folder. At the moment, i right click within the folder, go to New, go to Text document. What im tryin to do make a shortcut to this process - so i just have to click a button, and it will carry out the same command. Exactly like how there used to be no button to create New Folder, now there is, I want one to create New Text Document. Ive made the entries in the registry to get the button on the toolbar (after following the articles i mentioned), now i just want it to perform that New Text Document action.

So ive got the button appearing, but dont know the command line to carry out the action. I dont know if its just a variable i need to add onto the command line "c:\windows\system32\notepad.exe", or its a different command altogether..

Any help would be greatly appreciated!

Nathan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy