If you use Notepad very often then you want to open notepad quickly. Some files you can choose the Open With > Notepad but not all files and particularly not for files with no extension. My solution is to add a link on the right click menu “Open with Notepad” to all file types including files with no extensions.
The default method of opening unknown files forces you to go through a list of known applications and is a headache. That’s why I like to have “Open with Notepad” in the right click menu, so that I can quickly open up files without having to go through a lot of trouble. Keep in mind this registry script is nothing new.
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. I cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.