a guest Jan 18th, 2018 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. set iconcache=%localappdata%IconCache.db
  4. echo The Explorer process must be killed to delete the Icon DB.
  5. echo.
  6. echo Please SAVE ALL OPEN WORK before continuing.
  7. echo.
  8. pause
  9. echo.
  10. If exist "%iconcache%" goto delID
  11. echo.
  12. echo Icon DB has already been deleted.
  13. echo.
  14. pause
  15. exit /B
  17. :delID
  18. echo Attempting to delete Icon DB...
  19. echo.
  20. ie4uinit.exe -ClearIconCache
  21. taskkill /IM explorer.exe /F
  22. del "%iconcache%" /A
  23. del "%localappdata%MicrosoftWindowsExplorericoncache*" /A
  24. echo.
  25. echo Icon DB has been successfully deleted. Please "restart your PC" now to rebuild your icon cache.
  26. echo.
  27. start explorer.exe
  28. pause
  29. exit /B
  31. timeout/t 5 > nul:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand