win7刷新图标缓存

将以下内容存为flush_icon_win7.bat文件,双击运行该bat文件即可。

rem 关闭Windows外壳程序explorer   
  
taskkill /f /im explorer.exe   
  
rem 清理系统图标缓存数据库   
  
attrib -h -s -r "%userprofile%\AppData\Local\IconCache.db"   
  
del /f "%userprofile%\AppData\Local\IconCache.db"   
  
attrib /s /d -h -s -r "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*"   
  
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db"   
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db"   
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_102.db"   
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db"   
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db"   
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db"   
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db"   
  
rem 清理 系统托盘记忆的图标

echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams   
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream    
  
rem 重启Windows外壳程序explorer   
  
start explorer  

点击下载flush_icon_win7.bat文件。

/usr/themes/NexTSun/static/images/yovisun-weixin-share.jpg
赞 (0) 分享
声明:原创文章,欢迎转载,请以 超链接 的形式注明 作者标题原始出处查看许可协议
标题win7刷新图标缓存 | 作者:YoviSun
地址http://www.yovisun.com/archive/win7-icon-flush.html
相关文章:
添加新评论
选择表情
手机扫描二维码访问