GETENV()

Top  Previous  Next

Returns the value of a environment variable

Syntax

GETENV( cVaiableName )

Parameters

cVariableName

Specifies the name of the environment variable that is returned.

Returns

The content of the specified environment variable. If the variable doesn't exist, an empty string is returned.

Compatibility

Windows Mobile: The return value is always the empty string, because the Compact Framework does not have support for environment variables.