In Windows, if you right-click a
.bat file, there's an "Edit" option, which opens the .bat file with
notepad. How do I make Windows use
Note that this is different from the question How do I set Notepad++ as the default editor?. In that question, user asks for a way to make
Notepad++ the default opener for specific file types. This is not what I want here, since I expect that double-clicking on
.bat files executes them.