Windows 7 Forums


Windows 7: Edit Environment Variables via command line

03 Feb 2011   #1

Windows 7 64bit Professional
 
 
Edit Environment Variables via command line

I know how to udpate my environment variables using the stupidly slow to navigate windows. This is pointlessly slow IMHO.



How do i type a command, ONCE, that will update/add an environment variable that does not need to be retyped every time i open a new CLI session. The SET command seems pathetically lacking in this ability unless it has some undocumented argument beyond the two listed with /help.
My System SpecsSystem Spec

03 Feb 2011   #2

Windows Server 2008 R2
 
 

setx should do the trick.
My System SpecsSystem Spec
Reply

 Edit Environment Variables via command line problems?



Thread Tools



Similar help and support threads for: Edit Environment Variables via command line
Thread Forum
Solved What are Environment Variables in Computer? General Discussion
How to edit command line in shortcuts for .exe Customization
Windows 7 Environment Variables List Performance & Maintenance
Java, Windows 7 & Environment Variables Software
Windows doesn't seem to keep my system environment variables Performance & Maintenance


All times are GMT -5. The time now is 06:54 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32