Copy the following text between the lines into a plain text file
and give it a .reg extension. Double-click on the new .reg file
to import it.
It will result in a new entry on the right-click context menu for
any folder, called "New Text File Here".
A couple of concessions though - 1). The filename of the new text file
has to be "static" - in this case I have chosen "New.txt" but, of course,
you can change the filename later on. And 2). after choosing the new
menu item, you will have to click on [Yes] to create the new file after
Notepad opens.
------------------- copy between lines -------------------
REGEDIT4
;Rag file to create a New Text File in any
;folder that you right-click on and choose
;"New Text File Here" and click on "Yes".
[HKEY_CLASSES_ROOT\Directory\shell\newtxt]
@="New Text File Here"
[HKEY_CLASSES_ROOT\Directory\shell\newtxt\command]
@="C:\\WINDOWS\\system32\\notepad.exe \"%1\\New.txt\""
------------------- copy between lines -------------------
To "uninstall" open "regedit.exe" and navigate to the key :
HKEY_CLASSES_ROOT\Directory\shell\newtxt
...and delete this key ONLY.
*Note - Please exercise care when editing the registry, always create a
backup and / or create a 'System Restore' point first.
==
Cheers, Tim Meddick, Peckham, London.
