update environment variables windows code example
Example 1: set environment variable windows command line
setx EC2_CERT "%USERPROFILE%\aws\cert.pem"
Example 2: how to change environment variables in windows 10
Open the Start Search, type in “env”, and choose “Edit the system environment variables”:
Example 3: how to define environment variables
Use pm.environment to define an environment
variable (in the currently selected environment):
pm.environment.set("variable_key", "variable_value");