$InitialDirectory gives the current directory at the time when the current Mathematica session was started.
$InitialDirectory returns the full name of the directory as a string.
See The Mathematica Book: Section 2.11.4.
See also: Directory, $LaunchDirectory, $CommandLine.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.