| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
winXP cookie issues
|
Original Message
|
Name: modsquadx
Date: March 22, 2005 at 06:59:32 Pacific
Subject: winXP cookie issuesOS: winXp 2002CPU/Ram: multiple |
Comment: hello, I am attempting to add a line to a logon script and am running into a problem. I am able to clear cookies for individual profiles with this: del /Q c:\docume~1\"USERNAME"\Cookies\*.*
But because we have semi-public workstations, I need to be able to clear every users cookies with the script. I was thinking of setting a currentuser variable, but don't know how. If someone knows how, or has another solution, please help. Thanks.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Mechanix2Go
Date: March 22, 2005 at 21:52:14 Pacific
|
Reply: (edit)Hi David, Could you use: ::** [seudo code for eachuser in (userlist.txt) do del I think this approach may work. I tried this in w2k: net user|find /v "-"|find /v "accounts"|find /v "completed">userlist It makes the list but NOT one user per line. If this is the right idea, I can figure out how to get 'em on individual lines. HTH
M2
If at first you don't succeed, you're about average.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home