How to Set Environment Variables in Windows

Best Video Tutorials and Help from HowTech · 325K views · 2013 · 1:27

Open on YouTube

Testing, debugging & developer toolsHome, DIY & practical skillstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when an answer depends on setting or editing a Windows environment variable or PATH entry and they want to show the GUI steps instead of typing them out.

Recommended by 5 people across 5 different months, 2014 to 2019.

What it is

A short 2013 screen-capture tutorial from HowTech showing how to open the Windows System Properties dialog and add, edit or remove environment variables. It walks through Advanced System Settings and the Environment Variables button step by step.

What people said

Recommends Rustavore · 2014-01 · Stack Overflow · on “elastic beanstalk php git eb command line configuaration”

I'm not sure what OS you're developing on, so here are several common options: Mac OSX Open .bash_profile in your favorite text editor Add export PATH=$PATH:/eb/linux/python2.7/ to the bottom of this file Save and close Ubuntu (possibly other *nix distros) Open .bashrc in your favorite text editor Add export PATH=$PATH:/eb/linux/python2.7/ to the bottom of this file Save and close Windows Right click on My Computer Click "Advanced System Settings" on the left hand side Click "Environment Variables" at the bottom In "System variables", find the row with "PATH" Click the "Edit" button Add ";/eb/linux/python2.7/" to the end of the "Variable Value" input Click "Okay" repeatedly until all the dia

Recommends Jeffrey Rennie · 2018-05 · Stack Overflow · on “System environment variables not appearing”

If System.getenv("GOOGLE_APPLICATION_CREDENTIALS") is returning null, that's a strong signal that the attempt to set environment variable did not succeed. Another way to check the environment variable is from powershell: > gci env: Don't see GOOGLE_APPLICATION_CREDENTIALS in the output? Then the attempt to set the environment variable did not take effect. This video explains how to set an environment variable in Windows. It's way more hassle than it should be. [this video] After setting the environment variable, close Visual Studio, your command prompts, etc., and restart them from the Windows Start Menu . That should be sufficient to see the new environment variable. As a last resort, try restar

Recommends user9258013 · 2019-01 · Stack Overflow · on “How to install FFMPEG for your discord bot?”

Watch : How to set Environment variables in Windows [this video] . This is required to understand the HowTo below. Install FFmpeg Download the binaries from zeranoe. Extract it and copy the bin folder contents. Create a directory named ffmpeg_bins in C: drive. Add it to path by clicking Browse Folder . Congratulations, You've just learned to install FFmpeg in Windows OS.

Recommends keepAlive · 2019-09 · Stack Overflow · on “Using anytree to convert JSON to a image”

@MikeS159 No. Do not use python-graphviz. Download directly GraphViz from here [LINK] and do not forget to add [this video] its bin folder (for example `C:\Program Files (x86)\Graphviz2.38\bin`) to the path.

Recommends Mustafa · 2019-11 · Stack Overflow · on “Maven Package Compilation Error”

Check your installation JDK and its path - download link [LINK] Check its path on environmental variables - check [this video] Add eclipse windows->preferences->Java->installed JREs->add->standart VM -> JRE home (jdk path exmp:'C:\Program Files\Java\jdk1.8.0_221') then apply. right click your project -> properties -> select (Libraries -> JRE System libraries) -> edit -> choose workspace default JRE (JDK.1.8.0_221) Right-click your project -> Maven update clean and install project again.

Cites Fuhrmanator · 2015-03 · Stack Overflow · on “Android AVD starting error”

In my case, I had especially installed Android Studio on my D: drive (for space reasons). On my installation, the avd directory was located in D:\MyInstall\.android\.avd The solution for me was to define a Windows environment variable (user variable) [this video] with Variable name: ANDROID_SDK_HOME and Variable value: D:\MyInstall I restarted Android Studio and the emulator worked. This appears to be a bug in the Android Studio installer, since I explicitly stated the D: location in the install wizard. The installer should probably have set this variable.

Cites Giles_Chao · 2018-03 · Stack Overflow · on “C++ version of TensorFlow”

Oh, yes, I meant environment variables. [this video] You could check if CuDNN7.0 is in your system variables, if so, remove it, if not, just try to delete the CuDNN7.0 folder you downloaded. Btw, I'm now using tensorflow-GPU C++ library on my C++ project, and it works successfully, I recommend to build the library with Cmake and Visual Studio 2015. If you hope to know more details, just let me know, I'm glad to help.

Cites Frank Mehlhop · 2019-07 · Stack Overflow · on “Why I don't get EnvironmentVariable”

Using System / System Properties / Environment Variables I set a new variable on my Windows like described here: on youtube [this video] . I create a console application like described here: at Microsoft [LINK] and can reach the previous set environment variable. That was just a test to use it at my grown up application. There I wrote the same line than in my test application main first line: string value = Environment.GetEnvironmentVariable("MyVariable"); and the returned value is null . The only difference I could imagen that could play a role is that at the project properties / Debug is set already a (other) variable. Do you have a idea why I can't reach my EnvironmentVariable MyVariable from

Cites Cristianjs19 · 2019-08 · Stack Overflow · on “Set a secret key with command line in Django for saleor installation on windows”

First, settings.py exist indeed, you will found it inside "saleor" folder where you have cloned the project. In settings.py you'll found: SECRET_KEY = os.environ.get("SECRET_KEY") Which means that you really haven't a secret key setted up. Instead of this it will be capturing it from your environment variables, so here you must setup it: Open a command prompt and type: setx SECRET_KEY "<your secret key>" (another method here: [this video] ) Your secret key can be "hello" if you're just testing, or can generate a "real" key here: [LINK] Regards!