GetEnvironmentVariable

Syntax:

%GetEnvironmentVariable(Str)%

Description: 

Returns the value of the EnvVar environment variable. If the specified variable does not exist or EnvVar is empty, an empty string is returned. This function can retrieve either a system environment variable or a user environment variable.

Example:


Dim variable As String

Dim returnValue As String

returnValue = Environment.GetEnvironmentVariable(variablename)