1. 去除桌面快捷方式箭头.bat:
reg add "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /d "%systemroot%system32imageres.dll,197" /t reg_sz /f taskkill /f /im explorer.exe attrib -s -r -h "%userprofile%AppDataLocaliconcache.db" del "%userprofile%AppDataLocaliconcache.db" /f /q start explorer pause
2. 恢复小箭头.bat:
reg delete "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons" /v 29 /f taskkill /f /im explorer.exe attrib -s -r -h "%userprofile%AppDataLocaliconcache.db" del "%userprofile%AppDataLocaliconcache.db" /f /q start explorer pause
说明,以上脚本保存为xx.bat, 右键管理员权限运行: