Windows – Where is the Official list of Windows Environment Variables

command linedocumentationenvironment-variableswindows

I'm working on some .bat stuff created in a legacy application, which uses many environment variables. I need to know exactly what is every one of them (%windir%, %os%, etc.).

So I need the official Microsoft Documentation about the System Environment Variables of Windows (at least from the NT version).

I've reading some sites with partial information (there are variables absent, such as %os%), so I really want to look at the Official info.

Searching with Google, Bing and inside the MSDN site give just reports about one or other variable, but no a comprehensive and centralized list of all.

Anybody knows where is that documentation available?

Best Answer

While not official the best functional reference I've seen, that has been reliable and kept up to date for many years, is SS64 http://ss64.com/nt/syntax-variables.html. It includes undocumented variables and OS version specific info.

Related Question