1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Open blank text file in any directory

Discussion in 'Windows XP' started by Mint, Aug 22, 2010.

  1. Mint

    Mint Flightless Bird

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

    Thanks.
     
  2. Iceman

    Iceman Flightless Bird

    On Sun, 22 Aug 2010 14:57:45 -0700 (PDT), Mint wrote in message
    <news:01a7996e-ea95-4dd1-8fd4-43a2c0f3ae14@t2g2000yqe.googlegroups.com>:

    > 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.
     
  3. Tim Meddick

    Tim Meddick Flightless Bird

    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. :)




    "Mint" <chocolatemint77581@yahoo.com> wrote in message
    news:01a7996e-ea95-4dd1-8fd4-43a2c0f3ae14@t2g2000yqe.googlegroups.com...
    > Is there a reg file that will allow me to right click any dir and open
    > a blank text file?
    >
    > Thanks.
     
  4. Iceman

    Iceman Flightless Bird

    On Mon, 23 Aug 2010 00:00:48 +0100, Iceman wrote in message
    <news:u9KYd3kQLHA.3904@TK2MSFTNGP06.phx.gbl>:

    > On Sun, 22 Aug 2010 14:57:45 -0700 (PDT), Mint wrote in message
    > <news:01a7996e-ea95-4dd1-8fd4-43a2c0f3ae14@t2g2000yqe.googlegroups.com>:
    >
    >> 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.


    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.
     
  5. Eddie

    Eddie Flightless Bird

    Mint wrote:
    > 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
     
  6. Twayne

    Twayne Flightless Bird

    OR Re: Open blank text file in any directory

    In news:uc7E2sdRLHA.2100@TK2MSFTNGP04.phx.gbl,
    Eddie <albert@greenacres.far> typed:
    > Mint wrote:
    >> 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



    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`
     

Share This Page