Mathematica 9 is now available

$InitialDirectory

Usage

$InitialDirectory gives the initial directory when the current Mathematica session was started.


Notes

$InitialDirectory returns the full name of the directory as a string.
• If Mathematica is started from a shell or command line, $InitialDirectory gives the current operating system directory.
• If Mathematica is started from a menu or icon, $InitialDirectory typically gives the user's home directory $HomeDirectory.
• New in Version 3; modified in 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.