WIN10右键-打开方式-选择其他应用:该文件没有与之关联的应用来执行该操作…解决办法
问题描述
鼠标右键->打开方式->选择其他应用,提示错误:该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在"默认应用设置“页面中创建关联。
出现弹窗错误:
问题原因
打开注册表,快捷键:WIN+R,然后输入regedit,如下图:
查看是否存在这个路径:HKEY_CLASSES_ROOT\Unknown\
若不存在,则说明系统在遇到无法识别未知类型的文件时无法正确处理,进而弹不出让你选择其他应用打开的窗口,所以这个错误弹窗的出现。
解决办法
创建两个.reg
为后缀的文件,并分别将以下内容复制进去。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Unknown\shell\openas]
@=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,35,\
00,33,00,37,00,36,00,00,00
"MultiSelectModel"="Single"
[HKEY_CLASSES_ROOT\Unknown\shell\openas\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,31,00,22,00,00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Unknown\shell\OpenWithSetDefaultOn]
"MultiSelectModel"="Single"
"ProgrammaticAccessOnly"=""
[HKEY_CLASSES_ROOT\Unknown\shell\OpenWithSetDefaultOn\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,2d,00,6f,\
00,76,00,65,00,72,00,72,00,69,00,64,00,65,00,20,00,22,00,25,00,31,00,22,00,\
00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
如下图:
然后双击这俩文件导入注册表项。
重新查看注册表,即可看到Unknow已经存在了:
再次去尝试打开文件,即可正常弹出让你选择其他应用的窗口:
ends…