Windows 7: How to modify what program opens a batch file?
Solution 1:
The association can be found in the Windows registry
HKEY_CLASSES_ROOT\batfile\shell\edit\command
default data is
%SystemRoot%\System32\NOTEPAD.EXE %1
You could change the Data target to your program of choice.
.
I used this program to find it
.