
Launch the Windows System Properties (use sysdm.cpl from command prompt). Under Advanced, click Environment Variables.

Depending on your requirement, you can set the variables for user specific or system wide perspective. In this example, we will set for user specific variables. Click on New. Enter the variable name and it’s value. Click OK to save it.

Alternatively, you can use the following command prompt query to set the environment variables.
##To set user environment variable
setx [variable-name] ["variable-value"]
##Example
> setx Web_Server2 "DAEM"
SUCCESS: Specified value was saved.
##To set system environment variable
setx [variable-name] ["variable-value"] /M
##Example
> setx Web_Server3 "DAARIS" /M
SUCCESS: Specified value was saved.
Note: You can make the variables changes with the Edit button or remove them with Delete button.
