nathan323 Posted May 4, 2010 Report Share Posted May 4, 2010 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.htmland 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.