win7如何清理图标缓存

2016-09-27 08:20:32 来源:三联教程作者:3lian10 人气: 次阅读 211 条评论

[plain]rem关闭Windows外壳程序explorertaskkill/f/imexplorer.exerem清理系统图标缓存数据库attrib-h-s-r"%userprofile%AppDataLocalIconCache.db"del/f"%userprofile%AppData...

  [plain]

  rem 关闭Windows外壳程序explorer

  taskkill /f /im explorer.exe

  rem 清理系统图标缓存数据库

  attrib -h -s -r "%userprofile%AppDataLocalIconCache.db"

  del /f "%userprofile%AppDataLocalIconCache.db"

  attrib /s /d -h -s -r "%userprofile%AppDataLocalMicrosoftWindowsExplorer*"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_32.db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_96.db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_102.db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_256.db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_1024.db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_idx.db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_sr.db"

  rem 清理 系统托盘记忆的图标

  echo y|reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v IconStreams

  echo y|reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v PastIconsStream

  rem 重启Windows外壳程序explorer

  start explorer

  将以上代码粘贴到记事本,然后保存为“XXXX.bat”,用管理员权限运行即可。

您可能感兴趣的文章

相关文章