Discussion Locked

Setting Environment Variable

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to set a environment variable for all of my users. Rather than going around to them individually, is there a command that I can throw in the login script to set this? Thanks.

3 replies

by estebandelatorre

Place the variable in the login script of all your users. (default login script)
The way to set a variable is:
SET temp_dir=c:\temp
Be carefull with Upper and lower cases or a mix of them, and the space between the = sign and the variable.
When quering the variable, all this set commands will return diffrent values!!
Set Name=JOSE
Set Name=JoSe
Set Name=Jose
Set name=Jose
Set name=jose
Set name= jose
Set name = jose

This discussion is closed to new replies.