16
Oct

How to clear IE7 personal data from the command line

   Posted by: Dante   in General

Sometimes it is much easier to simply run a command line command or batch file to perform repetitive or administration tasks. Here are some commands to help you clean that pesky IE7 history/cookies/temp/whatever files that are stored on your hard drive.

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 Stored Passwords
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All with the Also delete files and settings stored by add-ons options selected
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

And to make things more interesting, you can combine the numbers and get 2 or more functions at the same time, i.e.:

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 9

This will delete the files (+8) and history (+1) in one single step. Now you can also create shortcuts with this and make it run every startup, or have a shortcut on Quick Launch, whatever suits you best.

Tags: , , ,

This entry was posted on Thursday, October 16th, 2008 at 3:19 pm and is filed under General. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment