add variable to windows environment code example Example: set environment variable windows command line Click to copysetx EC2_CERT "%USERPROFILE%\aws\cert.pem"