batch files

Status
Not open for further replies.

kramerP

Solid State Member
Messages
19
if i am trying to write a batch file that will automatically delete cookies, history, etc from all the user's profiles how can i make the user id a wild card to allow it to run for all user names.........such as


del c:\documents and settings\ ??? \Cookies\*.*


what can i place in the question marks to make that command delete all cookies from every profile?
 
afaik, its not possible with a batch file

however what you could do is add a batch file to the all users startup folder in start menu and make use of the userprofile environmental variable

del "%userprofile%\cookies\*.*" /y
 
Status
Not open for further replies.
Back
Top Bottom