Mathematica 9 is now available

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

$UserBaseDirectory

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

FilledSmallSquare $UserBaseDirectory 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 $UserBaseDirectory are:

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

FilledSmallSquare Appropriate subdirectories are automatically included on $Path.

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

FilledSmallSquare See Section 2.12.4 and Section A.8.2.

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

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.