you could shell out to setx.exe from the res kit. 

-----Original Message-----
From: Chris Levis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 10:39 AM
To: NT 2000 Discussions
Subject: Setting Env't variable from VBS login script


Hm.  Anyone know how I can set a system environmental variable using VBS
or Jscript?   I'm working (slowly) on moving my kixtart to VBS.  It's
simple matter to /see/ existing variables, but not to set new ones.
I've calling a shell and sending it a "set THING=STUFF", but that only
keeps the variable for the duration of the script...

Any ideas or pointers?

Thanks!

 
 
_______________________
There are 10 types of people in the world:  those who understand binary,
and those who do not.

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to %%email.unsub%%

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to