Windows: List and Launch applications associated with an extension

前端 未结 5 1130
萌比男神i
萌比男神i 2020-11-29 04:11

How to determine the applications associated with a particular extension (e.g. .JPG) and then determine where the executable to that application is located so that it can be

5条回答
  •  伪装坚强ぢ
    2020-11-29 04:40

    Like Anders said - It's a good idea to use the IQueryAssociations COM interface. Here's a sample from pinvoke.net

提交回复
热议问题