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

$InstallationDirectory

$InstallationDirectory
gives the top-level directory in which your Mathematica installation resides.
  • Typical values are:
C:\ProgramFiles\WolframResearch\Mathematica\8.0
Windows
/Applications/Mathematica8.0.appMacintosh
/usr/local/Wolfram/Mathematica/8.0Unix
A standard installation directory:
A standard installation directory:
In[1]:=
Click for copyable input
Out[1]=
New in 5