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

$HomeDirectory$TopDirectory

$InitialDirectory

FilledSmallSquare$InitialDirectory gives the current directory at the time when the current Mathematica session was started.

FilledSmallSquare$InitialDirectory returns the full name of the directory as a string.

FilledSmallSquare See The Mathematica Book: Section 2.11.4.

FilledSmallSquare See also: Directory, $LaunchDirectory, $CommandLine.

$HomeDirectory$TopDirectory