Subscribe to groovyPost.com

Internet Explorer Icon :: groovyPost.com

This will be my last article which focuses on Deleting the Internet Explorer 7 (IE7) Temporary Files, Cookies, Browser History etc…  In my , 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

Image of Creating a new Text Document in Windows Vista

 

You should now have a new Document on your Desktop that looks like this:

Create a Batch File to Delete IE7 Browser History and Temp Files

 

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:

Create a Batch File to Delete IE7 Browser History and Temp Files

 

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

How-To Rename a file in Windows Vista :: groovyPost.com

 

5.   Delete the document name and Type ClearHistory.cmd (or whatever you want to call it).

Create a Batch File to Delete IE7 Browser History and Temp Files  After Rename – Create a Batch File to Delete IE7 Browser History and Temp Files

 

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

Create a Batch File to Delete IE7 Browser History and Temp 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 .

 

Tags: , , , ,

Email Updates

Just enter your Email Address Below to Receive our Groovy How-To Tutorials Daily, Free and Easy:


Related Articles


15 Responses to “Create a Batch File to Delete IE7 Browser History and Temp Files”

  1. Tony says:

    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!

  2. MrGroove says:

    @Tony

    Exactly! I’m glad you enjoyed the article!

  3. Nayeem says:

    Very usefull information…..

    regards,

    Nayeem N.S

  4. Sanket Sirotiya says:

    Thanks a Ton

  5. cherry says:

    oh no, this didn’t work for me! maybe i’m doing something wrong? ):

  6. MrGroove says:

    @Cherry – What exactly is not working? Please post your issue / question in our Forum – http://www.groovypost.com/forum/

  7. Strider says:

    Error in Inetcpl.cpl
    Missing entry:ClearMyTracksByProcess

  8. MrGroove says:

    @Strider

    I take it that was your error message box that popped up when you ran the command.

    What version of windows are you running and what version of IE ?

  9. [...] Now, you can either run these commands from a CMD line, or from the Start, Start Search Run Box in Vista OR, even better from a Batch File.  The batch file is a nice touch because you can create it on your desktop and click on it at will without having remember the commands here from groovyPost.  Now I understand now everyone knows how to setup a Batch File to execute code so if you need help, take a look at my next article on How-To Create a Batch File to Delete IE7 Browser History and Temp Files. [...]

  10. samrat says:

    even i am getting the same problem it is giving an error saying that

    Error in Inetcpl.cpl
    Missing entry:ClearMyTracksByProcess

    using windows Xp service pack – 2

  11. akhilesh says:

    Learning very much from Mr. Groove.
    Thanks a Lot.

  12. Otac says:

    Great stuff and nice sharing. Its req for me.
    Thanks

  13. RobWPB says:

    Thanks…

  14. aamena says:

    Thanks!

Leave a Reply

For faster support, please post technical questions in our Community Forum, not the comments.