I would like to be able to separately request user and system environment variables.
As shown in the dialog box Environment Variables.
Using the functions GetEnvironmentVariableand *getenv*, I can only get the values ββobtained after merging two sets of variables, with user-defined priorities.
Just as the command setshows on the command line.
This feature would be useful to avoid silently rejecting a system variable if a user with the same name does not exist.
Even the uncertified API will be fine.
source
share