GetEnv

GetEnv(<envvar>)
GetEnv <VAR> <envvar>

Gets the value of an existing environment variable. Unlike the standard notation with enclosing % signs, it allows you to get the value of any variables, including those whose names contain various special characters (brackets, percent signs, spaces, etc.)

Parameters

envvarName of environment variable being read.

Related

SetEnv

Remarks

The function also allows you to check if an environment variable exists. If the variable does not exist, set the ERROR macro to 1.