gives the initial directory when the current Mathematica session was started.
- $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 3 | Last modified in 5