Win10系统,点击此电脑右键管理和文件资源管理器出现了:该文件没有与之关联的程序来执行该操作。请安装应用,偌已经安装应用,请在“默认应用设置“页面中创建关联。
原因:删除快捷键小箭头导致的
方法一
win+R,输入regedit,分别在
HKEY_CLASSES_ROOT\piffile
HKEY_CLASSES_ROOT\InternetShortcut
HKEY_CLASSES_ROOT\lnkfile
中新建→字符bai串值du,命名为IsShortcut
方法二
将以下内容,保存为.bat格式双击运行。
taskkill /f /im explorer.exe
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "C:\Windows\system32\imageres.dll,154" /t reg_sz /f
reg add "HKEY_CLASSES_ROOT\lnkfile" /v IsShortcut /t reg_sz /f
reg add "HEKY_CLASSES_ROOT\piffile" /v IsShortcut /t reg_sz /f
start explorer
注意:
如果还需要除去小箭头用下面的命令,用这个方法就可以避免错误了
新建一个文本文件,粘贴后另存为.bat文件,然后以管理员身份打开
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
pause
本文解决Win10系统中文件资源管理器出现的错误:该文件没有与之关联的程序来执行该操作。通过注册表编辑和批处理脚本,恢复文件关联并去除快捷方式小箭头。


被折叠的 条评论
为什么被折叠?



