This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / System Parameters /


FilledSmallSquare Environment["var"] gives the value of an operating system environment variable.

FilledSmallSquare The values of environment variables are returned by Environment as strings.

FilledSmallSquare Environment returns $Failed if it cannot find a value for the operating system variable you requested.

FilledSmallSquare The behavior of Environment depends on the computer system you are using.

FilledSmallSquare See Section 2.14.5.

FilledSmallSquare See also: Run, $CommandLine, $System.

FilledSmallSquare New in Version 1.