Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions Introduction > GetEnv

GetEnv

Gets a DOS environment variable.

Syntax

GetEnv(sName)

sName:

The name of the environment variable.

Return Value

The DOS environment variable (as a string).

Example

/* Get the current DOS path. */
sPath = GetEnv("Path");

See Also

Miscellaneous Functions