[an error occurred while processing this directive]
$TopDirectory gives the top-level directory in which Mathematica system files are installed.
$TopDirectory returns the full name of the directory as a string.
After installation on a hard disk typical values are: See the Mathematica book: Section 2.11.4.
See also: $LaunchDirectory, $InitialDirectory, $HomeDirectory.