General discussion

Locked

Path Variable

By whightd ·
How can I add a permanent path to the system path environment variable. If I add it by opening a command prompt or running a batch file using the PATH=%PATH%;*New Path Location* it only stores it temporarily in the user environment variable. I have tried the registry entry HKLM\System\CurrentControlSet\Control\Session Manager\Environment\Path which works but I cannot amend this registry setting via a batch file\command prompt as the DOS box complains that the line is too long.

This conversation is currently closed to new comments.

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

All Comments

Collapse -

Path Variable

by Darry In reply to Path Variable

Dear,
Have you tried to add from the controlpanel==>System==> Variable.

Do let me know I may help!

Collapse -

Path Variable

by whightd In reply to Path Variable

Need to do it from a batch file. Have since found a resource kit utility called setx which sets system variables from a command prompt.

Thanks.

Collapse -

Path Variable

by whightd In reply to Path Variable

This question was closed by the author

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

Related Discussions

Related Forums