Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Windows 7系統教程 >> 關於Windows7系統教程 >> win7如何清理圖標緩存

win7如何清理圖標緩存

日期:2017/1/23 18:49:00      編輯:關於Windows7系統教程

[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”,用管理員權限運行即可。

Copyright © Windows教程網 All Rights Reserved