Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 help and support Forum Windows 8 Forum Vista Tutorials

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroup Archive > Vista Newsgroups > Vista file management

Vista - "New txt file" missing from right click menu

 
 
05-03-2007   #1 (permalink)
Zepi


 

"New txt file" missing from right click menu

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?
My System SpecsSystem Spec
05-03-2007   #2 (permalink)
dean-dean


 

Re: "New txt file" missing from right click menu

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" <Zepi@discussions.microsoft.com> wrote in message
news:9EBEB722-604C-4EC4-9673-053564968AF3@microsoft.com...
> 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?


My System SpecsSystem Spec
05-03-2007   #3 (permalink)
Zepi


 

Re: "New txt file" missing from right click menu

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?
My System SpecsSystem Spec
05-03-2007   #4 (permalink)
dean-dean


 

Re: "New txt file" missing from right click menu

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" <Zepi@discussions.microsoft.com> wrote in message
news:6B690A1C-647E-4494-BFE7-851DA708ED2A@microsoft.com...
> 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?


My System SpecsSystem Spec
09-23-2008   #5 (permalink)
Petiedawgs


 

Re: "New txt file" missing from right click menu

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:
Quote:

> 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?
My System SpecsSystem Spec
12-31-2009   #6 (permalink)
AmirGad


 

RE: "New txt file" missing from right click menu

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:
Quote:

> 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?
My System SpecsSystem Spec
 

 "New txt file" missing from right click menu problems?



Thread Tools


Similar topics to: "New txt file" missing from right click menu
Thread Forum
"Synchronization Settings" missing when I right click imap folders Live Mail
Missing "right click" menu options General Discussion
empty "new" menu when i right click on the desktop in vista Vista file management
Start Menu "right" click context menu Vista General
Start Menu - when I click on the "pictures" button nothing happens Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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