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 / New in Version 5.0 / System Interface /

$InstallationDirectory

FilledSmallSquare $InstallationDirectory gives the top-level directory in which your Mathematica installation resides.

FilledSmallSquare $InstallationDirectory returns the full name of the directory as a string.

FilledSmallSquare Typical values are:

FilledSmallSquare See Section 2.12.4.

FilledSmallSquare See also: $BaseDirectory, $HomeDirectory, $InitialDirectory, $InstallationDate.

FilledSmallSquare New in Version 5.0.