Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Directories & Directory Operations >

$BaseDirectory

$BaseDirectory
gives the base directory in which systemwide files to be loaded by Mathematica are conventionally placed.
  • Typical values are:
C:\DocumentsandSettings\AllUsers\ApplicationData\Mathematica
Windows
/Library/MathematicaMacintosh
/usr/share/MathematicaUnix
  • 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.
ApplicationsMathematica application packages
Autoloadpackages to be autoloaded on startup
FrontEndfront end initialization files
Kernelkernel initialization files
Licensinglicense management files
SystemFilesgeneral system files
  • These subdirectories are, if possible, created automatically the first time Mathematica is run.
  • Appropriate subdirectories are automatically included on $Path.
New in 5
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team