Open blank text file in any directory

  • Thread starter Thread starter Mint
  • Start date Start date
M

Mint

Is there a reg file that will allow me to right click any dir and open
a blank text file?

Thanks.
 
Is there a reg file that will allow me to right click any dir and open
a blank text file?

Windows XP already has that option, but you must open the directory first.
 
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. :-)
 
Windows XP already has that option, but you must open the directory first.

Your post was somewhat vague as to whether you didn't know about this
context menu entry or if you had lost it. If the latter, see Tim's reply.
 
Mint said:
Is there a reg file that will allow me to right click any dir and open
a blank text file?

Thanks.


Put notepad.exe on the task-bar; (rename it in its folder in explorer
after ward... mine is just an icon; it makes life soo much easier, plus
you can access it even if you got twenty windows open.)

Ed
 
In
Eddie said:
Put notepad.exe on the task-bar; (rename it in its folder
in explorer after ward... mine is just an icon; it makes
life soo much easier, plus you can access it even if you
got twenty windows open.)
Ed


For the OP:

Right-click any open area on the desktop, click New, and choose from the
list provided. Or put a shortcut to Notetab or Wordpad in your QuickLaunch
area.

HTH,

Twayne`
 
Back
Top