Mathematica 9 is now available

$BaseDirectory

Usage

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


Notes

$BaseDirectory returns the full name of the directory as a string.
• Typical values are:
C:\Documents and Settings\All Users\Application Data\Mathematica Windows
/Library/Mathematica Macintosh
/usr/share/Mathematica Unix
• The value of $BaseDirectory can be specified by setting the MATHEMATICA_BASE operating system environment variable when the Mathematica kernel is launched. It cannot be reset from inside the kernel.
• Typical subdirectories of $BaseDirectory are:
Applications Mathematica application packages
Autoload packages to be autoloaded on startup
FrontEnd front end initialization files
Kernel kernel initialization files
Licensing license management files
SystemFiles general system files
• These subdirectories are, if possible, created automatically the first time Mathematica is run.
• Appropriate subdirectories are automatically included on $Path.
• The subdirectories of $BaseDirectory are given in $Path after the corresponding ones of $UserBaseDirectory.
• New in Version 5.


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.