How do I create a Batch file to delete Temporary Internet Files?

CoronaMMM

New member
Joined
Nov 13, 2008
Messages
4
Reaction score
0
Points
1
I tried creating a batch file to delete Temporary Internet File with no luck. Hopefully some one has the answer. This is my batch file below but doesn't work, am I missing some thing?
@ECHO OFF

echo *******************************************
echo ** Delete Temporary Internet Files **
echo *******************************************

CD C:\Documents and Settings\Username\Local Settings\
DEL Temporary Internet Files\*.* /Q
CD\

exit
 
It would be a lot simpler to just have windows clear them for you when you close the browser. There is a setting built in for that.

Internet Options on the Advanced tab and under the Security near the bottom.
 
Back
Top