Retrieves an environment variable.
EnvGet, OutputVar, EnvVarName
The name of the variable in which to store the string.
The name of the environment variable to retrieve. For example: EnvGet, OutputVar, Path
.
If the specified environment variable is empty or does not exist, OutputVar is made blank.
The operating system limits each environment variable to 32 KB of text.
EnvSet, #NoEnv, environment variables, EnvUpdate, SetEnv, Run, RunWait
EnvGet, OutputVar, LogonServer