How to add an option "Open in Editor" in the context menu
Very often we have to open certain types of files (.reg for example) in a text editor, but it is not very convenient to always use the menu "Select program" for every file type. This manual will help to fix this inconvenience. It will help to create in the context menu an item "Open in Editor". The example will use a standard text editor - "Notepad", but any other program can be used as well.
First we need to copy the text below into your favorite text editor and save into a file editor.reg. Files with the extension .reg are intended to make changes to the registry.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Open in Editor] @="" [HKEY_CLASSES_ROOT\*\shell\Open in Editor\command] @="notepad.exe %1"
String "notepad.exe %1" can be replaced by "word.exe %1" or "worpad.exe %1".
Then you need to run the file, accept the system warning and make changes to the registry.