setting environment variables in Win2000

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  01 January 2004
setting environment variables in Win2000


I'd like to setup my win2000 global environment variables through the command prompt or a perl command. I know I can set them up using the system tab, but I want to be able to automate it with a script and change from a script.

Please if anyone knows how to do this, please help


  01 January 2004
Try something like
and then type in set to list all environment variables to check that it's there.
Carpe Jugulum
  01 January 2004
Thanks Daftie, but I forgot to mention that doing it that way from the command prompt doesnt store your variable through sessions. So if I close that command prompt and open a new one my variable is lost. I want to be able to store one the same way I store a system variable from the system tab. So I can even reboot and it will store it for me.

Thanks anyway!

  01 January 2004
this might be of some use for you,if you're looking at using perl.

Might have changed some for current perl version,
but that should be doable to figure out.

The win32 module prolly has what you need...
Never really looked into it,as I'm just a lowly perl noob,
but I would imagine that's the place to look for this stuff.

Might look at one of these:
Carpe Jugulum

Last edited by dAfTiE : 01 January 2004 at 10:34 PM.
  01 January 2004
That looks exactly like what I was looking for. Thanks alot!!

  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:46 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.