该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在”默认应用设置页面中创建关联
问题复现
点击打开任务栏中的应用程序时弹出如下内容:
问题根源
原想去除快捷方式图标的小箭头,但使用了网上的方法,删除了注册表中的IsShortcut,导致了这种情况的发生。
恢复办法
在桌面新建 txt 文档,把以下代码复制以下代码到 txt 文档,保存然后重命名为123.bat(随便命名,但必须.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
完成后,桌面快捷方式图标的小箭头就又回来了,任务栏的应用程序也能正常打开。
去除小箭头:
在桌面新建 txt 文档,把以下代码复制到 txt 文档,然后重命名为456.bat(随便命名,但必须.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