我怎么可以显示与文件类型关联的所有程序列表中? [英] How can I show the list of all programs associated with a file type?
问题描述
我期待建立与列表中的一个开放的,就像在Windows上下文菜单,图像files.So我怎么能拿与文件类型关联的所有程序列表中?
I am looking to build an open with list, just like in the windows context menu,for image files.So how could i get the list of all programs associated with a file type ?
推荐答案
第一源
如果您在注册表下看 HKEY_CLASSES_ROOT\\ \\.bmp
。
(默认)
值会显示相关的默认程序。在我的情况,这表明
Paint.Picture
,它链接你 HKEY_CLASSES_ROOT\Paint.Picture
The (Default)
value will show you the default associated program. In my case, this shows
Paint.Picture
, which links you to HKEY_CLASSES_ROOT\Paint.Picture
.
在 HKEY_CLASSES_ROOT\.bmp
您还可以找到该子项 OpenWithList
包含子项打开方式的应用程序。
Under HKEY_CLASSES_ROOT\.bmp
you'll also find the subkey OpenWithList
which contains subkeys to "Open With" applications.
二源
在 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
,你还会发现fileextensions的列表。查找 .BMP
,一个子项 OpenWithList
的存在也有。我觉得这个来源是你所需要的。
Under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
you'll also find a list of fileextensions. Look for .bmp
, a subkey OpenWithList
exists there too. I think this source is what you need.
这篇关于我怎么可以显示与文件类型关联的所有程序列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!