from:http://bbs.windows7en.com/thread-93544-1-1.html
图标缓存(Icon Cache)
    1、Windows7刷新图标缓存作用:比如编译软件或者更改文件图标的时候,图标已经改变了,但是因为缓存原因,还是保持原来图标的样子,需要刷新重建一下才能看见新文件图标。
    2、Windows7的图标缓存文件 IconCache.db 在 %userprofile%\AppData\Local 目录下,其中%userprofile%是你的用户目录。每次启动的时候这个文件会重新生成,要想刷新图标缓存就要删除该文件。

rem 关闭 explorer.exe

taskkill /f /im explorer.exe

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

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

rem 打开 explorer.exe

start explorer

  1. rem 关闭 explorer.exe

  2. taskkill /f /im explorer.exe

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

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

  5. rem 打开 explorer.exe

  6. start explorer

相关文章:

  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-08-08
  • 2022-02-08
  • 2022-01-18
  • 2022-03-14
  • 2021-04-27
猜你喜欢
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-12-18
  • 2021-09-28
  • 2021-12-02
  • 2022-12-23
相关资源
相似解决方案