How to create a batch file that will delete temp internet files?

Question:-
------------------------------------------------------------------------------------------------------------
Does anyone know how to create a batch file that will delete temp internet files?
I have a lot of machines I need to do this on. I already have a way to delete the index.dat files, but I also need to empty the temp, history, and temporary internet files.
Can someone help, plz? 
------------------------------------------------------------------------------------------------------------

Answer:-
For Winows 2k, Xp and 2003, for NT, 9x, Me: 
Open Notepad and enter the following:
-----------------------------------------------------------
cd\ 
cd C:\Documents and Settings\$username$\Local Settings\ 
del /Q Temporary Internet Files 
echo Deleting Files 
echo File Deleted 
mkdir Temporary Internet Files 
exit
-----------------------------------------------------------
Replace $username$ with the Account names used on the machine...
For deleting history and Temp, just change Temporary Internet Files for History or Temp.
And save the file as delete.bat or whatever you wish Should work

For Any Windows like 7,vista..
Open NotePad and Paste the Following Code:
-----------------------------------------------------------
cd\ 
cd %temp%
ECHO Y | DEL *.*
echo Deleting Files 
echo File Deleted 
exit
-----------------------------------------------------------
and save it as delTemp.bat and Run the file , it will delete all temp files Safely
I think You Like this Post!!

Any Comments are encouraged ...
-Posted By UandiStar.org

Blog Widget by LinkWithin

Like us on FaceBooooooook

About author

vishnu vardhan reddy.B is a
bt
ech electronical and communication Engineer from karimnagar , india .
know more about vishnu

Recently Digged Indanam (fuel)

Get our posts as email

http://lh6.ggpht.com/_s0ANCL8E8sQ/SY7SyZ6WkXI/AAAAAAAAAhg/-qr1lvldUdA/Newspaper_Feed_128x128newcopy-1.png Sign up for our daily email newsletter

Dont miss any thing Enter your email address:

SMS Alerts: Get news headlines on your mobile phone for free

Labels

.net-ebooks (2) 2-1 - 2nd mid online bits (1) 2-2 previous papers (1) 3-2 2nd mid online bits (1) 3-2 Previous Papers (1) 4-2 2nd mid online bits (1) advertise (1) bat-file tricks (1) bestbrowser (1) browserstats (1) chromestatistics (1) chromestats (1) data recovery softwares (3) download youtube hd videos easily (1) e books (16) ebooks (6) editing (1) Facebook (2) facebook friendship pages (1) fastestbrowser (1) games (1) Gate (3) hacking-books (2) hacks (1) holidays list of jntu (1) HTML and CSS (1) icet (1) indanam (1) installations (1) intel processors and there reviews (176) internet tricks (184) interview (3) interview-books (3) java-script-books (1) jntu lab manuals and programs (24) jntu previous question papers (8) JNTUK (2) JNTUK R10 Syllabus (1) lab manuals (1) LAB MANUELS (1) lab programs (1) Lab Progrms (1) lab softwares (1) mobile tricks (1) Mobile-apps (2) mobile-games (2) music (4) novels (1) online bits (5) online bits 1st year (1) online bits for mid 3-2 mid 2 cse (1) online bits for mid 3-2 mid 2 ece-ece 3-2 online bits for mid 2 (1) online bits for mid2 3-2 mech (1) orkut tricks (1) other (2) paper presentations (13) pc tricks (8) pc troubleshooting (3) photography (4) Power Point Presentations (1) resume-books (1) servers and their reviews (3) simple tips to speed up pc (10) smileys on gtalk (1) softwares (4) spyware (1) technology (131) telangana (1) top addons ie8 (1) use hard disk as ram (1) virus (64) wga (2) windows (292) windows 7 (8) Windows 8 (1) windows tricks (16) windows vista (2)
© Copyright 2008-2010 The content is copyrighted to vishnu vardhan reddy.B and may not be reproduced on other websitesContact Me Advertise here