首页 > 技术文章 > Windows重新建立图标缓存

dying 2014-03-25 10:25 原文

有的时候,快捷方式的图标会因各种优化软件而变得面目全非,这时就需要重新建立图标缓存

新建一个文本文档,把文件的后缀名修改成.bat 的例如 icon.bat 在里面填写下面的内容:

rem 关闭explorer.exe
taskkill /f /im explorer.exe
attrib -h -i %userprofile%\AppData\Local\IconCache.db
del %userprofile%\AppData\Local\IconCache.db /a
rem 打开
start explorer

 OK Enjoy~

推荐阅读