Windows 10 去掉桌面快捷方式小箭头

Windows 10 桌面快捷方式默认都是有个小箭头的,如下图:

去掉小箭头后,效果如下图:

在开始之前,先确保显示文件的扩展名

1.去掉小箭头

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

新建一个文本文件,将上述代码复制进去,并另存为 .bat 文件,例如:

注意:需要以管理员身份打开

2.恢复小箭头

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /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

同理,也是新建一个文本文件,将代码复制进去,另存为 .bat 文件,同时需要以管理员身份打开

参考:
win10完美去除快捷方式小箭头的方法