IE Clear Cache using Command Prompt

Working on a solution where i need to do alot of changes and validate that the changes are working correclty, i was clearing the cache manually going to the Internet Explorer and then using Tools > Internet Options and then under the Browsing History click on the Delete button, that was extremely tedious and it was taking a little more time that i want it to be.

looking to resolve the clicking and using a script i research on how to Clear the Cache using the command prompt, and found the following scripts that you can run

255 Deletes All History
  1 Deletes History Only
  2 Deletes Cookies Only
  8 Deletes Temporary Internet Files Only
 16 Deletes Form DAta Only
 32 Deletes Password History Only

4351 Deletes All Previous

rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

i have them in a batch file and just run the batch file when I need to clear the cache.

enjoy!

abe.

 

Get membership Access to all Content!

Get Access to the most updated content for Dynamics 365 and other technologies, receive emails when we post New Content and when we have new Videos, and Live Sessions! Subscribe to get our latest content by email. Also to get and download the source code on the new blog post!

We won't send you spam. Unsubscribe at any time. You will receive emails from AbeSaldana.com Powered by ConvertKit

Leave a Reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image
Refresh

*