Mathematica 9 is now available
[an error occurred while processing this directive] $HomeDirectory

  • $HomeDirectory gives your "home" directory.
  • $HomeDirectory returns the full name of the directory as a string.
  • On multi-user operating systems, $HomeDirectory gives the main directory for the current user.
  • See the Mathematica book: Section 2.11.4.
  • See also: Directory, ParentDirectory, $UserName, $LaunchDirectory, $TopDirectory.


    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.