Create a Batch File to Delete IE7 Browser History and Temp Files
Sep 26th, 2008 by MrGroove
This will be my last article which focuses on Deleting the Internet Explorer 7 (IE7) Temporary Files, Cookies, Browser History etc… In my previous 2 Articles, I talked about How-To Clear the Browser History files manually and via CMD line however if you need help doing this via a Batch File, read on. The below Step-by-Step Tutorial should be simple to follow. I’ll be using a Windows Vista machine for the Tutorial and Screen Shots however the process is pretty much the same for Windows XP and other Windows Operating Systems.
1. Right Click on your Desktop and Click New, Text Document
You should now have a new Document on your Desktop that looks like this:

3. Double Click the Document to open it. Type or Paste the following text into the empty document
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
It should now look like this:
3a. Click File, Save then Close the Document
Ok, now it’s time to convert the document into a Batch file. It’s a simple process or changing the file extension to a .cmd file.
4. Right Click on the Document and Click Rename
5. Delete the document name and Type ClearHistory.cmd (or whatever you want to call it).
After Rename -
Your Done! To test it out, just Double Click the File and you should see a Internet Explorer 7 box open telling you it’s clearing it’s Temporary Files
If your REALLY paranoid, you can setup a Windows Task to run your new Batch file every 15 or 30 Minutes. Personally, I only clear my Browsing History and Temp files to get rid of clutter on my Hard Drive.
Comments? Would love to hear from you and, if you have a question, please post them in our Free Message Forum.
Tags: Internet Explorer, ie7, security, privacy, clear history


This is awesome! Just created the batch file and my history is being nuked every 90 minutes!
Just because i’m paranoid doesnt mean they aren’t out to get me!
@Tony
Exactly! I’m glad you enjoyed the article!
Very usefull information…..
regards,
Nayeem N.S