batch files - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 01-12-2006, 01:50 PM   #1 (permalink)
Newb Techie
Join Date: Nov 2005
Posts: 19
Default batch files

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?

kramerP is offline  
Old 01-12-2006, 03:42 PM   #2 (permalink)
It's all just 1s and 0s
office politics's Avatar
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics

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
office politics is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:17 AM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.