Language:
Русский
English
GetEnv (function) (Dos unit)
Returns the value of a specified environment variable.
Declaration
function GetEnv(EnvVar: string): string;
Target
Real, Protected
Remarks
GetEnv returns the value of a specified variable. The variable name can be in either uppercase or lowercase, but it must not include the equal sign (=) character. If the specified environment variable does not exist, GetEnv returns an empty string.