Add Or Edit Environment Variables On Windows

In this blog, we will see how to add or edit Environment Variables on Windows,
 
Add Or Edit Environment Variables On Windows
 
Environment variables are used to store system-wide values, like, PATH - the most common environment variable, which contains a list of directories to search for executable programs (EXE).
 
Let's see how to add an environment variable to your system,
 
Right-click on the This PC icon and choose Properties, or simply open File Explorer and Right-Click on This PC and select Properties,
 
Add Or Edit Environment Variables On Windows
 
You can also go to the Control Panel and click on the System, then choose Advanced system settings,
Add Or Edit Environment Variables On Windows 
 
Click on the Environment Variables,
 
Add Or Edit Environment Variables On Windows
 
Click on New to add a new environment variable or click on Edit to edit an existing environment variable, I am going to edit the most common Path variable,
 
Add Or Edit Environment Variables On Windows
 
You need to copy your bin folder path of whatever the program just copied in the binary folder path and paste it there,
 
Add Or Edit Environment Variables On Windows
 
I am going to add a path for Mongo Shell, you can copy the path and paste it.
 
Add Or Edit Environment Variables On Windows
 
After adding or editing the environment variable, click on OK to have the change take effect.
 
Hope this will help you.

Thanks.