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).
$(OBJECTREF Exception) if the environment variables could not be retrieved (Windows only).
Copies all environment variables into an associative array.