Adding a New Text Document Context Menu Entry in Windows 10
If you're a Windows 10 user and find yourself frequently creating new text documents, you might be interested in adding a new context menu entry to make this process even faster. By default, when you right-click in Windows Explorer, you'll see an option to create a new text document, but it's located under the "New" submenu. With a simple registry hack, you can add a new top-level entry to the context menu, allowing you to create a new text document with a single click.
Registry Hack
To add the new context menu entry, you'll need to modify the Windows registry. Before you begin, it's important to note that editing the registry can have serious consequences if done incorrectly, so proceed with caution. It's also a good idea to back up your registry before making any changes.
To add the new context menu entry, follow these steps:
- Press the Windows key + R to open the Run dialog box.
- Type
regeditand press Enter to open the Registry Editor. - Navigate to the following key:
HKEY_CLASSES_ROOT\.txt\shell - Right-click on the
shellkey and selectNew>Key. - Name the new key
NewTextDocument. - Right-click on the
NewTextDocumentkey and selectNew>Key. - Name the new key
command. - In the right pane, double-click on the
(Default)value and set theValue datato:notepad.exe %1
The new context menu entry should now be added to Windows Explorer. To test it, right-click in a folder and you should see the new option to create a new text document.
Removing the Context Menu Entry
If you decide you no longer want the new context menu entry, you can remove it by following these steps:
- Open the Registry Editor as described above.
- Navigate to the following key:
HKEY_CLASSES_ROOT\.txt\shell\NewTextDocument - Right-click on the
NewTextDocumentkey and selectDelete.
The new context menu entry should now be removed from Windows Explorer.
Adding a new context menu entry for creating a new text document in Windows 10 is a simple registry hack that can save you time and make your workflow more efficient. Just remember to proceed with caution and back up your registry before making any changes. And if you ever want to remove the entry, the process is just as simple.