Setting Global Environment Variables via startup script?

S

Sam Marrocco

I'm trying to set some global enviroment variables (for all users) with
a batch script in the Startup folder under xp using set.....the script
appears to run, but when I check the variables from a command prompt,
they aren't being set (at least in that command prompt).

Is this the correct method to set global vars? I must set this up from a
script because I have 100 machines that must all run variants of the
same script, so I don't want to set these manually from the gui.
 
S

Sam Marrocco

Does the fact that you are suggesting this utility indicate that it is
not possible to add a global variable via a script as I attempted?
 
G

GTS

There is definitely no way to do it from a batch file. I suspect there
might be a way in vb script, but I've never researched it.
--
 
S

Sam Marrocco

GTS said:
There is definitely no way to do it from a batch file. I suspect there
might be a way in vb script, but I've never researched it.

Thanks, I'll try the setx app.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top