熱點推薦:
您现在的位置: 電腦知識網 >> 電腦常識 >> 正文

win7如何清理圖標緩存

2022-06-13   來源: 電腦常識 

  [plain]

  rem 關閉Windows外殼程序explorer

  taskkill /f /im explorerexe

  rem 清理系統圖標緩存數據庫

  attrib h s r "%userprofile%AppDataLocalIconCachedb"

  del /f "%userprofile%AppDataLocalIconCachedb"

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

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_db"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_idxdb"

  del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_srdb"

  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

  將以上代碼粘貼到記事本然後保存為“XXXXbat”用管理員權限運行即可


From:http://tw.wingwit.com/Article/Common/201311/6396.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.