win+R,输入regedit,分别在
HKEY_CLASSES_ROOT\piffile
HKEY_CLASSES_ROOT\InternetShortcut
HKEY_CLASSES_ROOT\lnkfile
中新建→字符串值,命名为IsShortcut
如果需要除去小箭头用下面的命令
新建一个文本文件,粘贴后另存为.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

转载于:https://www.cnblogs.com/500m/p/10848152.html

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐