This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


gives the initial directory when the current Mathematica session was started.
  • If Mathematica is started from a shell or command line, $InitialDirectory gives the current operating system directory.
New in 3 | Last modified in 5