Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / System Interface / File System /

$BaseDirectory

FilledSmallSquare $BaseDirectory gives the base directory in which system-wide files to be loaded by Mathematica are conventionally placed.

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

FilledSmallSquare Typical values are:

FilledSmallSquare The value of $UserBaseDirectory can be specified by setting the MATHEMATICA_USERBASE operating system environment variable when the Mathematica kernel is launched. It cannot be reset from inside the kernel.

FilledSmallSquare Typical subdirectories of $BaseDirectory are:

FilledSmallSquare These subdirectories are, if possible, created automatically the first time Mathematica is run.

FilledSmallSquare Appropriate subdirectories are automatically included on $Path.

FilledSmallSquare The subdirectories of $BaseDirectory are given in $Path after the corresponding ones of $UserBaseDirectory.

FilledSmallSquare See Section 2.12.4 and Section A.8.2.

FilledSmallSquare See also: $UserBaseDirectory, $InstallationDirectory, $InitialDirectory, $HomeDirectory.

FilledSmallSquare New in Version 5.0.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.