Windows在何处存储其“打开方式"?设置? [英] Where does Windows store its "Open With" settings?
问题描述
我正在尝试通过文件扩展名(例如.jnlp
文件)以编程方式检查文件关联.我一直在读
I'm trying to programmatically check file associations by the file extension (for example .jnlp
files). I keep reading that
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JNLPFile\Shell\Open\Command
是要检查的注册表项.但是,如果您通过Windows资源管理器更改关联:
is the Registry key to check. However, if you change the association through Windows Explorer:
打开方式>选择程序">(始终使用选定的程序)
更改完全没有反映在此注册表项中.此信息还存储在哪里?
the change isn't at all reflected in this Registry key. Where else is this information stored?
推荐答案
看看:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\
,其中的子键是您重新分配的扩展名.在此之下,将包含UserChoice和OpenWithList子项,这些子项将包含您的重新定义.
and the sub-key of that is the extension you reassigned. Under that there will be the UserChoice and OpenWithList sub-keys which will contain your redefinition.
您可能还想阅读 http://support.microsoft.com/kb/950505谈论您的问题.
You may also want to read http://support.microsoft.com/kb/950505 which talks about your issue.
这篇关于Windows在何处存储其“打开方式"?设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!