command line - Set Environment Variables Windows -


first off, i'd apologise if has been covered. it's difficult filter through existing issues similar one.

so in windows there 2 (as far i'm aware) ways set environment variables. first 1 through command prompt , second through system properties in control panel.

the former more desirable me have issue variable lasts , exists in session. gets considerably annoying when have re-set java path every time.

the latter have resort to, takes time , once in blue moon i'll forget locate menu.

is there have in command prompt set permanently? possibly flag or switch append command?

the setx command can modify environment variables persistently:

setx provides command-line or programmatic way directly , permanently set system environment values.

it's quite powerful tool read notes on page though because there few little catches using it.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -