Posted on

I like to be able to quickly open any of my files with Notepad, even though Notepad might not be associated with that specific extension. To enable this, I have added an entry in the Explorer Context Menu.

Note: This requires changes in the registry and therefore requires administrator access.

  1. Open Registry Editor

  2. Navigate to:

  3. Inside the shell key, create a new key with the name Edit with Notepad1

  4. Inside the Edit with Notepad key, create a new key with the name command.

  5. Set the (Default) string to value notepad.exe %1

The change should become active immediately.

If you wish to use a .reg file instead, paste the following into an empty .reg file and execute the file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Edit with Notepad\command]
@="notepad.exe %1"

Update 2018-02-07: Corrected the contents of the .reg file to enable import.

  1. The name you set here for the key is the name that will be shown in the context menu. [return]
comments powered by Disqus