Function Reference

EnvGet

Retrieves an environment variable.

EnvGet ( "envvariable" )

 

Parameters

envvariable Name of the environment variable to get such as "TEMP" or "PATH".

 

Return Value

Returns the requested variable (or a blank string if the variable does not exist).

 

Remarks

None.

 

Related

EnvSet, EnvUpdate

 

Example


$var = EnvGet("PATH")
MsgBox(4096, "Path variable is:", $var)