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

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 of 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 –   You’re Done!  To test it out, just Double Click the File, and you should see an Internet Explorer 7 box open telling you it’s Deleting Temporary Internet Files

If you’re 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.   Exactly! I’m glad you enjoyed the article! regards, Nayeem N.S 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 ? Error in Inetcpl.cpl Missing entry:ClearMyTracksByProcess using windows Xp service pack – 2 You nailed it 100%! Not only can you configure IE to clear the cache each time you exit but you can also do it through the command line as well. I wrote up the Step-by-step the same time I wrote the article above. https://www.groovypost.com/howto/microsoft/ie/automatically-clear-ie7-browser-temporary-files-at-exit/ We have Windows XP here at work and although it didn’t work when I saved it as a “.cmd” dile, it DID however work when I saved it as a “.bat” file… Nice work! thanks in advance for help with this. i am running windows XP serv pack 3. Simple fix. You need to first enable Windows XP to allow you to see file extensions. This way you can easily rename the file to xxx.cmd rather than xx.cmd.txt file which is what is happening to you now. I just created the Step-by-Step for you here that reviews How-To Configure XP to show file extensions. And just for reference, here is the same step-by-step for Windows 7. its really great and useful. But i need one more..how delete the temporary file for firefox. if you have the idea plz post that here or by my mail. thnaks, Judhisthira sahoo judhisahoo2009@gmail.com plz reply ~Kia Comment Name * Email *

Δ  Save my name and email and send me emails as new comments are made to this post.

Create a Batch File to Delete IE7 Browser History and Temp Files - 69Create a Batch File to Delete IE7 Browser History and Temp Files - 38Create a Batch File to Delete IE7 Browser History and Temp Files - 51Create a Batch File to Delete IE7 Browser History and Temp Files - 17Create a Batch File to Delete IE7 Browser History and Temp Files - 81Create a Batch File to Delete IE7 Browser History and Temp Files - 92Create a Batch File to Delete IE7 Browser History and Temp Files - 80Create a Batch File to Delete IE7 Browser History and Temp Files - 15