List all applications that handle a specified file type

别等时光非礼了梦想. 提交于 2021-01-29 07:04:37

问题


Is it possible to list all the applications on a machine that can open a specific file type, using only the files extension? for example if I have a text file (.txt), I want a list of all applications that can open .txt files.


回答1:


Check out the HKEY_CLASSES_ROOT hive in your registry. It's all in there.




回答2:


There is no master list of every application that can open a specific file that I am aware of.




回答3:


I am assuming you are talking about Windows machines...

You can only go so far as listing the applications that are registered has to able of handling a specific file extension (the same applications that show up when you right click and select "Open With"). This is somewhere in the Windows Registry.

I would suggest you to check on the microsoft documentation, or open your registry and start searching for known extensions.



来源:https://stackoverflow.com/questions/864966/list-all-applications-that-handle-a-specified-file-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!