我正在尝试通过文件扩展名(例如.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.
您可能还想阅读 support.microsoft/kb/950505谈论您的问题.
You may also want to read support.microsoft/kb/950505 which talks about your issue.
更多推荐
Windows在何处存储其“打开方式"?设置?
发布评论