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.

Subscribe to the Daily Tech Insider Newsletter

Stay up to date on the latest in technology with Daily Tech Insider. We bring you news on industry-leading companies, products, and people, as well as highlighted articles, downloads, and top resources. You’ll receive primers on hot tech topics that will help you stay ahead of the game. Delivered Weekdays

Subscribe to the Daily Tech Insider Newsletter

Stay up to date on the latest in technology with Daily Tech Insider. We bring you news on industry-leading companies, products, and people, as well as highlighted articles, downloads, and top resources. You’ll receive primers on hot tech topics that will help you stay ahead of the game. Delivered Weekdays