win10提示该文件没有与之关联的应用来执行该操作

解决方法:

新建文本文档将以下语句复制进去,将文件扩展名改为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

(我出现这种情况的原因是因为我为了将桌面图标上的小箭头去掉,就将注册表里HKEY_CLASSES_ROOT\lnkfile文件下的 IsShortcut给删了 重启电脑后就出现了这种情况 )

你可能感兴趣的:(win10提示该文件没有与之关联的应用来执行该操作)