add environment variable windows code example
Example 1: set path in windows
set path=C:\Program Files\Java\jdk1.6.0_23\bin
Example 2: set environment variable windows command line
setx EC2_CERT "%USERPROFILE%\aws\cert.pem"
set path=C:\Program Files\Java\jdk1.6.0_23\bin
setx EC2_CERT "%USERPROFILE%\aws\cert.pem"