win11我们固定在任务栏的图标点击之后就出现这样的提示【该文件没有与之关联的应用来执行该操作……】弹窗,甚至连系统自带的文件管理器都打不开了。这是因为我们按照win10的方式去除快捷方式小箭头的方式对win11并不适用。按照win10去除小箭头之后,就会造成这个问题
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
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
3. 以管理员身份运行【恢复小箭头.bat】
Copyright © 2023 leiyu.cn. All Rights Reserved. 磊宇云计算 版权所有 许可证编号:B1-20233142/B2-20230630 山东磊宇云计算有限公司 鲁ICP备2020045424号
磊宇云计算致力于以最 “绿色节能” 的方式,让每一位上云的客户成为全球绿色节能和降低碳排放的贡献者