10
2
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?
I would say there isn't one; any app can use any variables it likes. – Ignacio Vazquez-Abrams – 2010-12-02T19:04:36.507
2@Néstor: Simply typing
set
in a command prompt lists quite a few, including all you mentioned.They all seem fairly easy to understand. – oKtosiTe – 2010-12-02T19:10:33.727
1http://www.scriptlogic.com/support/CustomScripts/environmentVariableReference.html – Moab – 2010-12-02T19:53:29.617
Updated my answer to include a link too. – SgtOJ – 2010-12-02T20:07:30.123
+1 @moab - Posted the same link without noticing. Got it from Wikipedia? – SgtOJ – 2010-12-02T20:08:41.357
Similar question – Paused until further notice. – 2010-12-03T02:47:10.743
@Brian, no, my best friend Google SSL found that link. – Moab – 2010-12-03T15:08:11.690