Restore missing context menu option to Create new text documents


If by some mistake you lost from your context menu the option to “Create new text document”, here is what you can do to restore this useful entry.

Create a plain text file with the .reg extension instead of .txt and paste there these lines:

Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
"FileName"="\"C:\\AnyFolder\\template.txt\""

“Template.txt” is a plain text file without any lines in it. Just an empty text file that needs to be created in the folder you specified above.

Now, save this .reg file, run it to update the Windows Registry and enjoy!

Leave a comment