Use PATHMAN from the ResKit http://www.ultratech-llc.com/KB/?File=EnvVars.TXT
============================================================== ASB - http://www.ultratech-llc.com/KB/?File=~MoreInfo.TXT ============================================================== "War is based on deception." -- Sun Tzu. >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of Adam Smith >Sent: Thursday, January 03, 2002 7:04 PM >To: NT 2000 Discussions >Subject: %PATH% on logon > > > >All, > >I have a directory located at R:\SYSTEM\PATH, and I would like to add >this directory to the workstation path using the login script. > >I could use the SETX utility, however SETX appears to be pretty gross >because you can't see the changes until you load another >command window. > >The path doesn't appear to update properly using: > >SETX PATH R:\SYSTEM\PATH;%PATH% > > >But even so, I don't want it to *keep* adding R:\SYSTEM\PATH >every time >the user logs in, so how can I make it check %PATH% for >"R:\SYSTEM\PATH" >before running this? Using a VB Script? > >Any help would be much appreciated. > > > >Adam Smith >IT Officer >SAGE Automation Ltd > >[EMAIL PROTECTED] >http://www.sageautomation.com > >Phone: (08) 8276 0703 >Fax: (08) 8276 0799 >Mobile: 0414 895 273 > >"Computers are like air-conditioners; they don't work when you open >Windows." > ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
