|Found an old question for the same problem, however it was never answered. I figured out the solution, but the old quest has been locked. I am posting my solution to help those who have or may encounter the saem issue:|
1) change the file type association to something that is listed in the OpenWith window.
2) Go to Start/Run/Regedit and navigate to:
3) Search for the extension, or search for the program to which you have just associated the file type. In my case, .log is file extension, but the Classes entry turned out to be "log_auto_file".
4) change the value for the 'Default' sub-key from "G:\NCC\SMARTS\tools\original.exe" "%1" to "c:\new.exe" "%1"
My file type would open with NotePad, and I could not change it to Baretail.exe. Tail.exe was listed, so I changed the association to tail.exe, then searched for that in the registry. Hope this helps someone!