Using the Command Line to Delete IE7 / IE8 Browsing History

Posted August 4, 2008 by Rob Rogers in Internet Explorer IE7

You can use the command line to delete the browsing history (cookies, internet files, history, form data, and/or passwords) from IE7 or IE8. These commands can come in handy if you want to create batch files to clear the browsing history.


Delete Temporary Internet Files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Delete Cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

Delete History
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Delete Form Data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Delete Passwords
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete Files and Settings Stored by Add-Ons
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.