Enterprise Software

How to clear your Internet Explorer (version 7) cache from the command line

It seem that all I want to do these days is work from the command line and keep my mouse from working. The less I have to use my mouse, the happier it makes me. I wanted to share with you how to delete IE cache from the command line. Follow these simple steps.

Normally, you have to open IE and choose Tools | Delete Browsing History | Delete All...

Another way would be to open the command line and type the following commands:

  • RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 (Deletes ALL History)
  • RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 (Deletes History Only)
  • RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 (Deletes Cookies Only)
  • RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 (Deletes Temporary Internet Files Only)
  • RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16 (Deletes Form Data Only)
  • RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32 (Deletes Password History Only)

It works great; I even put together a quick video for your enjoyment.

Editor's Picks

Free Newsletters, In your Inbox