- Create a new bat file.
- Paste below program code and save the file.
- Run the bat file to cleanup IE Cache
taskkill /im iexplore.exe /f /t
@echo off
title: IE temporary file deleter
echo clearing internet temporary files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
echo clearing client Cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
echo clearing history records
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
echo clearing IE form data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
echo clearing password
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
echo clearing all
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
echo clearing IE7 backward compatibility caches
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
echo Your useless files have been cleared,I am closing all IE window now...
pause