@echo off
taskkill /im explorer.exe /f
for /r "%userprofile%" %%i in (IconCache.db) do (if exist "%%i" (
attrib -s -h -r -a "%%i"
del /f /q "%%i"))
start explorer
以上复制到文本扩展名改为bat双击运行
rem 关闭 explorer.exe
taskkill /f /im explorer.exe
attrib -h -i %LS%\AppData\Local\IconCache.db
del %LS%\AppData\Local\IconCache.db /a
rem 打开 explorer.exe
start explorer
以上复制到文本扩展名改为bat双击运行