XP Batch file help?

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
What I am looking to do is to run a batch file on a particular drive. On this drive, I would like it to look for any user accounts in the Documents and Settings folder. I'd then like it to delete everything except for Application Data in the X:\Documents and Settings\User\Local Settings directory.

So that would include, Temp, Temporary Internet Files and History and whatever else files EXCEPT for the Application Data folder.

Is it possible to have a batch file do every account in a certain directory?
 
Aug 23, 2000
15,509
1
81
I'd kinda like to know this too. I would love to be able to run something on a mchine that wipes out the Temp folder and internet history folders in the users profiles.