阿勒,WIN7的图标木有了

突然发现Windows 7中的一些图标丢失,虽然不影响使用,但毕竟难看。

为什么呢?试验后发现,我给应用程序修改一个名字就会有图标。

我查阅资料后知道,WIN7里使用了图标缓存,然后由于缓存了错误的图标导致的。

系统磁盘:\Users\IXR\AppData\Local\

目录下找到IconCache.db文件,把这个db缓存删除就好了。

下面的脚本可以重建图标缓存。

可以将下面的内容保存为一个bat文件。经过测试有效

rem 关闭桌面

taskkill /f /im explorer.exe

attrib -h -i %userprofile%\AppData\Local\IconCache.db

del %userprofile%\AppData\Local\IconCache.db /a

扫描二维码关注公众号,回复: 1364283 查看本文章

rem 打开桌面

start explorer

一切搞定 嘻嘻!~

猜你喜欢

转载自ixr.iteye.com/blog/1059406