how to get environment variables from cmd code example Example: windows print env variable echo %PATH%