getEnv

Return the value of given current OS environment variable.

Syntax:
variable = getEnv( environmentVariable )

environmentVariable : see Environment Variables section for more details.

Example:

printS( getEnv( "PATH" ) )
waitKey()

see also the setEnv() command.