win11去除小箭头不当导致出错:该文件没有与之关联的应用来进行该操作


解决办法:恢复小箭头即可

新建文件,输入以下代码,把文件格式改为.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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM