Eddie said:
im trying write a batch file to delete all cookies and
temp files in each users profile, but not sure what
command(s) to use to go from one user profile to the next
without using the users name in the batch file. any help
would be great. thanks
I use XXCOPY, a Versatile File Management Utility---Boldly
Extended Xcopy (
www.xxcopy.com):
The next is all one line:
xxcopy "C:\Documents and Settings\*\Cookies\*.*" /ed
/h/pd0/r/rs/s/y/oA%ErrorLog%/Fo%TempFilesList%/EX%Ignore%
This is my exact command line under W2k
You may not want /oA - append log file, /Fo - list files deleted,
/EX - a list of cookie files not to delete.
The \*\ allows more than one consecutive 'any' folder in the
path.
[Xxcopy has so many more switches than xcopy that I would not
expect to be able to modify this to use xxcopy].
Other temp files can be treated similarly, though I haven't yet
got this to work with 'Temporary Internet Files'.
Ray