BAT FILE

G

Guest

Hi, i have created a small BAT file to delete the contents of the temp
internet folder for all the 3 users on my computer.

The bat file works for the other 2 users, execpt it doesn;t delete the
contents of my temporary internet folder.

Here is my bat file:

@echo off
echo DELETING THE TEMP INTERNET FILES
DEL /Q /S C:\"Documents and Settings\user1\Local
Settings\Temporary Internet Files\*.*"
DEL /Q /S C:\"Documents and Settings\user2\Local Settings\Temporary Internet
Files\*.*"
DEL /Q /S C:\"Documents and Settings\pinto\Local Settings\Temporary Internet
Files\*.*"

for the first 2 users it works (they have another folder called content.IE5
- and i dont). but for mine (pinto), it doesn't work. why is this?

regards
 
F

FrankV

Check properties of each and see if there is any difference. Take @echo off
and see what happens during run.

Frank
 
T

Terry

On 12/31/2004 4:25 PM On a whim, FrankV pounded out on the keyboard
Check properties of each and see if there is any difference. Take @echo off
and see what happens during run.

Frank

Probably because the index.dat files can't be removed. You are able to
remove them from the other profiles because they are not in use. If you
log in as one of the other users and run the batch, the same thing will
happen.

Try putting the batch in your startup folder and see if it will process
before locking the files.

--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top