简体   繁体   中英

List all applications that handle a specified file type

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.

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

没有可以打开我所知道的特定文件的每个应用程序的主列表。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM