They’re global data that a program might want to know. Often paths common programs.
“windir” for example, is the path to the Windows install, on my PC that is “C:WINDOWS”
The Environment variable “NUMBER_OF_PROCESSORS” on my PC is “16”
So, instead of needing to figure out the directory a programmer can just use “windir” and get the Windows path.
Latest Answers