Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



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





Thread Tools



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

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 04:33 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 33