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

Enter your email address to get free software's windows and virus removal tricks: SMS Alerts: Get news headlines on your mobile phone for freeMOBILE ALERTS

0 comments

Post a Comment

Blog Widget by LinkWithin

Like us on FaceBooooooook

About author

Vishnu vardhan Reddy Boda is Tech Blogger and Software Engineer.

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