how to get environment variable in windows command prompt code example
Example 1: windows print env variable
echo %PATH%
Example 2: set environment variable windows command line
setx EC2_CERT "%USERPROFILE%\aws\cert.pem"
echo %PATH%
setx EC2_CERT "%USERPROFILE%\aws\cert.pem"