General discussion

Locked

Adding Enviornment Variables

By mikejmiller71 ·
Is there an easy way to enter enviornmet variables (Win2k) so that I don't have to manually type them in for every PC that requires them? Maybe a batch file or a registry entry?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Adding Enviornment Variables

by nschulz In reply to Adding Enviornment Variab ...

Look at the setx command from the win2k resource kit. Use a login script if users are loginning into the network.

Thanks Norm

Collapse -

Adding Enviornment Variables

by mikejmiller71 In reply to Adding Enviornment Variab ...

The question was auto-closed by TechRepublic

Collapse -

Adding Enviornment Variables

by Joseph Moore In reply to Adding Enviornment Variab ...

Yes. You can use the PATH statement in a BAT file (or logon script) to add to the existing PATH statement (where all environmental variables are kept).
So, if you want to add C:\Temp\Test to the PATH of every workstation, the syntax would be:
PATH=PATH;C:\Temp\Test

If you want to add more than 1 directory, just separate them with semicolons ";"

Hope this helps

Collapse -

Adding Enviornment Variables

by mikejmiller71 In reply to Adding Enviornment Variab ...

The question was auto-closed by TechRepublic

Collapse -

Adding Enviornment Variables

by fenaikh In reply to Adding Enviornment Variab ...

Hi
If you need it for a specific users then use login scripts if they are hooked to a network
else
if It is for specific machine then Put it in each machine Autoexec.bat file.

Good luck

Mohamed

Environment Variables in Windows NT (Q100843)
The information in this article also applies to win2k

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q100843


How to Specify Additional Environment Space under Windows NT (Q158141)
The information in this article also applies to win2k

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q158141

Managing NT Environment Variables
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=5379

Environmental and System Variables
http://www.labmice.net/scripting/variables.htm


UniLogon.bat

http://www.winscriptingsolutions.com/Articles/Index.cfm?ArticleID=8606


***Very Important NOTE *********
After you copy the URL a space or a %20 maybe gets inserted in the URL when you paste it into your browser. Delete any spaces or such characters from the URL for the page to be loaded.

Collapse -

Adding Enviornment Variables

by mikejmiller71 In reply to Adding Enviornment Variab ...

The question was auto-closed by TechRepublic

Collapse -

Adding Enviornment Variables

by mikejmiller71 In reply to Adding Enviornment Variab ...

This question was auto closed due to inactivity

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums