Monday 10 December 2012

Associate file with specified program

Under windows OS, sometimes file might have the incorrect or improper association with application program. How to associate the file with the customized program, the straightforward way is right click file, and then select properties, and associate the program with file in the "Open with" pop-up window.

However, this might not work sometimes, especially when you install the same program with different version on the same machine. You might not link to the program using the above method.

In order to solve this issue, you should open register (click "start" -> run -> regedit), and then find

HKEY_CLASSES_ROOT\Applications\Binary file that you want to associate\Shell\new\command, and assign the value of variable as the path of this binary program.