[plain]
rem 關閉Windows外殼程序explorer
taskkill /f /im explorer
rem 清理系統圖標緩存數據庫
attrib
del /f "%userprofile%AppDataLocalIconCache
attrib /s /d
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_idx
del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_sr
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
將以上代碼粘貼到記事本
From:http://tw.wingwit.com/Article/Common/201311/6396.html