Global delete of IE 6 temp files from multiple profiles on XP box

G

Guest

Is it possible to delete the IE temporary files from all profiles on an XP box? I have several machines w/ up to 20 profiles on them. One box has over 54,000 IE temp files that consume 1.5 Gb of disk space. I don't want to go each profile individually and delete the files - it simply takes to long.
 
R

Robert Aldwinckle

Is it possible to delete the IE temporary files from all profiles
on an XP box?

Assuming you know where the TIF are all located (e.g. listed in a file)
you could execute the following command in a command window:

for /f "tokens=*" %u in (userlist.txt) do rd /s /q "%u\Temporary Internet Files"

Note: I'm suggesting that you don't put the TIF part of the folder name
in the file for obvious reasons but suit yourself.

BTW I tested the syntax by using by using rem in place of rd.
I don't think that I would use /q until I had tested further with the
real rmdir command. ;)


Good luck

Robert Aldwinckle
---


jedward said:
Is it possible to delete the IE temporary files from all profiles on an XP
box? I have several machines w/ up to 20 profiles on them. One box has
over 54,000 IE temp files that consume 1.5 Gb of disk space. I don't want
to go each profile individually and delete the files - it simply takes to long.
 

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