Windows – Add Notepad to Right-click new menu in Windows 7

64-bitcontext menunotepadwindows 7

Here's what my right-click menu looks like:

enter image description here

There used to be a "New Text Document" item there but it's gone.

Here's my registry value:

enter image description here

Any idea how to fix it?

Best Answer

For Windows 7 you can use Remove or Restore "text Document" reg key just execute it.

Download this registry key and extract it form the zip folder or you can run through the zip archive as well. Just double click on the file and add it in the registry. However you can write down the following key on your notepad and save it with the desired name but I'll say give a valuable name to it like notepad.reg. .REG is an extension which should be include otherwise it will save as a normal text document.

[HKEY_CLASSES_ROOT\.txt]  
"Content Type"="text/plain"  
@="txtfile"  
"PerceivedType"="text"  
[HKEY_CLASSES_ROOT\.txt\OpenWithList]  
[HKEY_CLASSES_ROOT\.txt\PersistentHandler]  
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"  
[HKEY_CLASSES_ROOT\.txt\shell]  
[HKEY_CLASSES_ROOT\.txt\shell\open]  
[HKEY_CLASSES_ROOT\.txt\shell\open\command]  
@="notepad.exe %1"  
[HKEY_CLASSES_ROOT\.txt\ShellNew]  
"NullFile"=""   

Registry entries are copied form this source.

Related Question