Win7 reconstruction icon cache bat

  
I don't know if my friend who uses WIN7 has the same situation as me. Some program icons or shortcuts do not display properly. I have been troubled by this situation for a long time, and I have found many methods on the Internet to recommend one of the simplest and most effective methods.
How to use: Copy the following cmd code to “Notepad” program, click “Save as”, enter the rebuild win7 icon cache at the “filename”, bat, “save type”select “All files”
Code:
rem Close Windows shell explorer
taskkill /f /im explorer.exe
rem Clean system icon cache database
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 Cleaning system tray Memory icon
echo y
Copyright © Windows knowledge All Rights Reserved