The Computer Oracle

Setting and getting Windows environment variables from the command prompt?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Realization

--

Chapters
00:00 Question
00:45 Accepted answer (Score 343)
01:25 Answer 2 (Score 47)
01:44 Answer 3 (Score 11)
02:23 Answer 4 (Score 6)
03:06 Thank you

--

Full question
https://superuser.com/questions/79612/se...

Question links:
[Is there any command line tool that can be used to edit environment variables in Windows?]: https://superuser.com/questions/13783/
[Setting multiple environment variables in a shell spawned via windows batch script]: https://superuser.com/questions/23048/

Accepted answer links:
[this page]: http://ss64.com/nt
[setx]: http://ss64.com/nt/setx.html
[Windows Resource Kit]: http://ss64.com/links/windows.html#kits

Answer 3 links:
https://pastebin.com/1fJqA0pT

Answer 4 links:
[Set Windows system environment variables using CMD]: http://www.mindxmaster.com/2017/03/modif...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #commandline #environmentvariables

#avk47