GetEnvironmentVariable()

Summary

Gets the value of a DOS environment variable.

Syntax

value = GetEnvironmentVariable(string variable)

Argument Contents
variable The name of the DOS environment variable

Returns

A string containing the value of the environment variable, or null if the variable was not found.

Example

search_path = GetEnvironmentVariable("PATH")

See Also

Function Summary
SetEnvironmentVariable() Sets the value of a DOS environment variable within the current program's process