Gets a DOS environment variable.
Syntax
GetEnv(sName)
sName:
The name of the environment variable. The length of the name should not exceed 255 characters.
Return Value
The DOS environment variable (as a string).The return value returns up to 255 characters and is truncated if exceeds.
Example
/* Get the current DOS path. */
sPath = GetEnv("Path");
See Also
Published June 2018