Computing.Net > Forums > Programming > winXP cookie issues

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

Reply to Message Icon

Original Message
Name: modsquadx
Date: March 22, 2005 at 06:59:32 Pacific
Subject: winXP cookie issues
OS: winXp 2002
CPU/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

Response Number 2
Name: modsquadx
Date: March 23, 2005 at 05:29:46 Pacific
Reply: (edit)

Thanks,

I finally got it to work. it was a self inflicted ID-10-T issue.

I appreciate the help.



Report Offensive Follow Up For Removal

Response Number 3
Name: Mechanix2Go
Date: March 23, 2005 at 05:31:48 Pacific
Reply: (edit)

"ID-10-T"

?


M2

If at first you don't succeed, you're about average.


Report Offensive Follow Up For Removal

Response Number 4
Name: modsquadx
Date: March 23, 2005 at 08:50:28 Pacific
Reply: (edit)

ID-10-T = idiot.

thanks again for the help



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








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software