Temporary Internet Folder

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 (but they have another folder called
content.IE5 - and i dont), but for mine (pinto), it doesn't. why is this?

regards
 
M

Mikhail Zhilin

It seems you put the first double quote to the wrong plase. Has to be not

DEL /Q /S C:\"Documents and Settings\user1\Local Settings\Temporary Internet Files\*.*"

(etc), but

DEL /Q /S "C:\Documents and Settings\user1\Local Settings\Temporary Internet Files\*.*"

(etc).
--
Mikhail Zhilin
http://www.aha.ru/~mwz
Sorry, no technical support by e-mail.
Please reply to the newsgroups only.
======
 

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