Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista File Management > "New txt file" missing from right click menu

Reply
Thread Tools Display Modes

"New txt file" missing from right click menu

 
 
Zepi
Guest
Posts: n/a

 
      05-03-2007
Hi

I lately noticed that my Vista (32bit) doesn't want me to make .txt files.
When I'll right click on desktop and choose new from the menu I'll get this:
http://zepi.kapsi.fi/PropertiesMenu.jpg
So, there is no "new txt file" option. This happens in every directory, not
just only on the desktop.

Is there any way to get the "new txt file" option back?
 
Reply With Quote
 
 
 
 
dean-dean
Guest
Posts: n/a

 
      05-03-2007
You could try this:

Copy the following, between the dashes (i.e., don't include the dashes), and
Paste it into Notepad.

-------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.txt]
"Content Type"="text/plain"
"PerceivedType"="text"
@="txtfile"

[HKEY_CLASSES_ROOT\.txt\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.txt\ShellNew]
"ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74 ,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65 ,00,6d,00,33,00,32,00,5c,\
00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00 ,65,00,78,00,65,00,2c,00,\
2d,00,34,00,37,00,30,00,00,00
"NullFile"=""

-------------------------------------


Save the file as ShellNew.reg (no .txt extension).

Double-click on ShellNew.reg, and allow the merge. From your screen
capture, I noticed you were also missing New > Bitmap Image (another Windows
default New item). You could download the fix for the .bmp file association
here:

http://www.winhelponline.com/articles/105/1/



"Zepi" <> wrote in message
news:9EBEB722-604C-4EC4-9673-...
> Hi
>
> I lately noticed that my Vista (32bit) doesn't want me to make .txt files.
> When I'll right click on desktop and choose new from the menu I'll get
> this:
> http://zepi.kapsi.fi/PropertiesMenu.jpg
> So, there is no "new txt file" option. This happens in every directory,
> not
> just only on the desktop.
>
> Is there any way to get the "new txt file" option back?


 
Reply With Quote
 
Zepi
Guest
Posts: n/a

 
      05-04-2007
Great, thanks.
That did the trick.

I checked registry before importing values you gave. I found that that
Notepad++ had tweaked HKEY_CLASSES_ROOT\.txt\(Default) value, maybe it
somehow caused this behavior.
The default value in read something like "Notepad++ _txtfile" and after
importing the values you gave there reads only "txtfile". Could this cause
behauvior like this?
If it's so, then I probably should have to post error report on Notepad++
forum.

And about the missing .bmp file. I don't really need that one, so it doesn't
bother me. Actually, in the New -menu there are few items that I never use.
Is there any way to (easily) configure the contents of that menu?
 
Reply With Quote
 
dean-dean
Guest
Posts: n/a

 
      05-04-2007
It appears that Notepad++ made itself the default application for text files
(meaning that when you clicked on a text document, Notepad++ would open the
file, instead of Notepad). And yes, that program could have altered, or
deleted, the ShellNew key under HKEY_CLASSES_ROOT\.txt. Sometimes, in a
program's options dialog, the user can choose to make that program the
default handler for certain file types. Or the user is asked to do so by
the program when it's installed. Or none of the above, and the program
makes assumptions and "surprises" you. I've not used Notepad++, so I don't
know.

You probably have another key under HKEY_CLASSES_ROOT, called (something
like) Notepad++ _txtfile, which, after merging the registry file I gave you,
isn't currently being used. (You are now using Vista's
HKEY_CLASSES_ROOT\txtfile). Instead of Text Document, the file type was
probably called something with Notepad++ in the name, like Notepad++
Document.

As far as (easily) configuring the contents of the New menu, no, Vista does
not offer that. You would have to edit the registry directly, which I'd not
do (not all ShellNew's are alike, and it's probably best to leave well
enough alone). In XP, the XP Power Toys offered this, with a show or hide
feature, as well as offering an easy way to create your own New items; and,
I imagine, down the road, there will be Vista Power Toys with the same
feature. (The XP Power Toys shouldn't be installed on Vista; the registry
locations, among other things, may have changed).



"Zepi" <> wrote in message
news:6B690A1C-647E-4494-BFE7-...
> Great, thanks.
> That did the trick.
>
> I checked registry before importing values you gave. I found that that
> Notepad++ had tweaked HKEY_CLASSES_ROOT\.txt\(Default) value, maybe it
> somehow caused this behavior.
> The default value in read something like "Notepad++ _txtfile" and after
> importing the values you gave there reads only "txtfile". Could this cause
> behauvior like this?
> If it's so, then I probably should have to post error report on Notepad++
> forum.
>
> And about the missing .bmp file. I don't really need that one, so it
> doesn't
> bother me. Actually, in the New -menu there are few items that I never
> use.
> Is there any way to (easily) configure the contents of that menu?


 
Reply With Quote
 
Petiedawgs
Guest
Posts: n/a

 
      09-23-2008
I have Visual Studio 2008 and set that as a default program to open up .txt
files. This added a registry entry called something like ProgOpenWith and
had a defulat and nullfile value for VS.2008. With the registry entry
Shellnew.reg file, and if you have something like this which uses VS 2008
delete that key and use the file above and you will be fixed as well.

"Zepi" wrote:

> Great, thanks.
> That did the trick.
>
> I checked registry before importing values you gave. I found that that
> Notepad++ had tweaked HKEY_CLASSES_ROOT\.txt\(Default) value, maybe it
> somehow caused this behavior.
> The default value in read something like "Notepad++ _txtfile" and after
> importing the values you gave there reads only "txtfile". Could this cause
> behauvior like this?
> If it's so, then I probably should have to post error report on Notepad++
> forum.
>
> And about the missing .bmp file. I don't really need that one, so it doesn't
> bother me. Actually, in the New -menu there are few items that I never use.
> Is there any way to (easily) configure the contents of that menu?

 
Reply With Quote
 
AmirGad
Guest
Posts: n/a

 
      12-31-2009

hello everyone, i also faced the same problem, i could not find new/file.txt
so i did the following:

*open your regedit.exe
** enter [HKEY_CLASSES_ROOT\.txt]
*** enter (shellnew)
****Double click on( ItemName ) then paste this value:
@%SystemRoot%\system32\notepad.exe
it works fine with me.
best regards
-----------------
"Zepi" wrote:

> Hi
>
> I lately noticed that my Vista (32bit) doesn't want me to make .txt files.
> When I'll right click on desktop and choose new from the menu I'll get this:
> http://zepi.kapsi.fi/PropertiesMenu.jpg
> So, there is no "new txt file" option. This happens in every directory, not
> just only on the desktop.
>
> Is there any way to get the "new txt file" option back?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
empty "new" menu when i right click on the desktop in vista toby Windows Vista File Management 1 01-31-2008 08:20 PM
Right click menu "new" is empty MinConst Windows Vista General Discussion 0 01-28-2008 08:23 PM
Start Menu "right" click context menu vegaspat Windows Vista General Discussion 2 01-16-2008 01:19 PM
Start Menu - when I click on the "pictures" button nothing happens rene Windows Vista File Management 1 03-28-2007 02:34 AM
the right click context menu "new" watercress_soup Windows Vista General Discussion 2 03-09-2007 12:18 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59