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

$InitialDirectory$LaunchDirectory

$TopDirectory

FilledSmallSquare$TopDirectory gives the top-level directory in which Mathematica system files are installed.

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

FilledSmallSquare After installation on a hard disk typical values are:

FilledSmallSquare See The Mathematica Book: Section 2.11.4.

FilledSmallSquare See also: $LaunchDirectory, $InitialDirectory, $HomeDirectory.

$InitialDirectory$LaunchDirectory