Windows: List and Launch applications associated with an extension

前端 未结 5 1127
萌比男神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:49

    Also HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\

    .EXT\OpenWithList key for the "Open width..." list ('a', 'b', 'c', 'd' etc string values for the choices)

    .EXT\UserChoice key for the "Always use the selected program to open this kind of file" ('Progid' string value value)

    All values are keys, used the same way as docName in the example above.

提交回复
热议问题