- Thread Author
- #1
As you know some file may be opened by multiple installed programs.
Assume I have 3 picture viewers installed for viewing *.jpg files.
Currently the default program for opening these *.jpg is "aaa.exe"
In the future I want to let the *.jpg open (by double clicking in Windows Explorer) by a second program bbb.exe
Associating *.jpg extension with assoc and ftype does not help.
UserChoice has higher priority than default association.
So I need a way to modify the "OpenWith" User Preference as well.
I want such a modification by command line command and not by clicking through GUI.
Keep in mind that in reality I have to do this for a dozend of extension every time.
Putting commands in batch script would be helpful.
So again: How do I modify the "OpenWith" user preferences for lets say extension *.jpg to program bbb.exe from cmdline?
thank you
Peter
Assume I have 3 picture viewers installed for viewing *.jpg files.
Currently the default program for opening these *.jpg is "aaa.exe"
In the future I want to let the *.jpg open (by double clicking in Windows Explorer) by a second program bbb.exe
Associating *.jpg extension with assoc and ftype does not help.
UserChoice has higher priority than default association.
So I need a way to modify the "OpenWith" User Preference as well.
I want such a modification by command line command and not by clicking through GUI.
Keep in mind that in reality I have to do this for a dozend of extension every time.
Putting commands in batch script would be helpful.
So again: How do I modify the "OpenWith" user preferences for lets say extension *.jpg to program bbb.exe from cmdline?
thank you
Peter