重建Windows 7的图标缓存

有时候,会发现Windows 7中的一些图标丢失,虽然不影响使用,但毕竟难看。下面的脚本可以重建图标缓存。

可以将下面的内容保存为一个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

trackback: http://blog.csdn.net/xiaojianpitt/article/details/5284612

原文地址:https://www.cnblogs.com/JohnShao/p/2182164.html