Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

$UserBaseDirectory

Usage

$UserBaseDirectory gives the base directory in which user-specific files to be loaded by Mathematica are conventionally placed.


Notes

$UserBaseDirectory returns the full name of the directory as a string.
• Typical values are:
C:\Documents and Settings\username \Application Data\Mathematica Windows
~/Library/Mathematica Macintosh
~/.Mathematica Unix
• 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.
• Typical subdirectories of $UserBaseDirectory 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 by a given user.
• Appropriate subdirectories are automatically included on $Path.
• The subdirectories of $UserBaseDirectory are given in $Path before the corresponding ones of $BaseDirectory.
• New in Version 5.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: