windows get environment variable command line code example Example: windows print env variable echo %PATH%