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

$ProductInformation$System

Environment

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

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

FilledSmallSquareEnvironment 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 The Mathematica Book: Section 2.13.5.

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

$ProductInformation$System