batch files - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
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

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

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

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