J'ai remarqué today that there is no longer a "Create new text document" option in my Windows 7 (x64 Ultimate) context menu when I right click. No idea how or when it disappeared, point is it's gone.
After searching Google for people with the same problem J'ai essayé following a post in [this guide](http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/new-text-document-shortcut-missing-from-the-right/022309a6-cd08-41df-8e55-95e83397ae73).
But I got stuck tout de suite because Je ne vois pas a `.txt` key in my registry under `HKEY_CLASSES_ROOT`. I only see a `.text` but I am not sure if that is the same thing.
"Create new text document" option manquant from context menu
Re: "Create new text document" option manquant from context menu
I gained access to another PC running Windows 7, a computer on which the context menu was intact. I peeked at le registre of this machine and copied exactly what was entered. Doing so rea résolu le problème on my desktop with the broken context menu.
Following all the instructions listed above, the two Strings within the `.txt` key that I needed were `Content Type` and `PerceivedType`.
So then to recap, si vous êtes facing a similar issue, here is what I did to fix this problem. Hopefully ça fonctionne for you aussi.
(First backup the Registry.)
- Open `regedit.exe`
- Expand `HKEY_CLASSES_ROOT` and look for a `.txt` key. If none exist, create one.
- Within the `.txt` key, create two new Strings: `Content Type` and `PerceivedType`.
- (Right click) **Modify...** and the value for `Default` should be `txtfile`.
- (Right click) **Modify...** and the value for `Content Type` should be `text/plain`.
- (Right click) **Modify...** and the value for `PerceivedType` should be `text`.
- Create a new key with the name `ShellNew` within the `.txt` key.
- Within the `ShellNew` key, create a new String with the name `NullFile`.
- Within the `ShellNew` key, create a new **Expandable String Value** with the name `ItemName`.
- (Right click) **Modify...** and the value for `ItemName` should be `@%SystemRoot%\system32\notepad.exe,-470`
Here are two screenshots of what the final outcome should be:
Following all the instructions listed above, the two Strings within the `.txt` key that I needed were `Content Type` and `PerceivedType`.
So then to recap, si vous êtes facing a similar issue, here is what I did to fix this problem. Hopefully ça fonctionne for you aussi.
(First backup the Registry.)
- Open `regedit.exe`
- Expand `HKEY_CLASSES_ROOT` and look for a `.txt` key. If none exist, create one.
- Within the `.txt` key, create two new Strings: `Content Type` and `PerceivedType`.
- (Right click) **Modify...** and the value for `Default` should be `txtfile`.
- (Right click) **Modify...** and the value for `Content Type` should be `text/plain`.
- (Right click) **Modify...** and the value for `PerceivedType` should be `text`.
- Create a new key with the name `ShellNew` within the `.txt` key.
- Within the `ShellNew` key, create a new String with the name `NullFile`.
- Within the `ShellNew` key, create a new **Expandable String Value** with the name `ItemName`.
- (Right click) **Modify...** and the value for `ItemName` should be `@%SystemRoot%\system32\notepad.exe,-470`
Here are two screenshots of what the final outcome should be: