Discussion Locked
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
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
by sygnatech
Thank you for your help!
by sygnatech
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
1 helpful
16 replies
0 helpful
12 replies
0 helpful
3 replies
0 helpful
2 replies
Question
Is WSL still relevant in 2026?
0 helpful
1 reply