For example, if I click txt file from explorer a notepad window shows up, but when I open
'menu start'->run->cmd.exe and then type txt file name also notepad gets in my way. Can I set it to be two different applications in these situations?
The same for PHP or other script files, I would like Windows to open the editor when double click in explorer, but run in the interpreter when called from keyboard in cmd shell.
I found that, for a given extension, the
[HKEY_CLASSES_ROOT\php_auto_file\shell\open\command] registry hive contains the path to the program that executes files of php extension, but it affects both explorer and shell.