environment.toAA

string[string] toAA() @trusted

Copies all environment variables into an associative array.

Windows_specific: While Windows environment variable names are case insensitive, D's built-in associative arrays are not. This function will store all variable names in uppercase (e.g. PATH).

Throws

Exception if the environment variables could not

be retrieved (Windows only).