check value of environment variable windows cmd code example Example: windows print env variable echo %PATH%