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

$TopDirectoryLinkLaunch

$LaunchDirectory

FilledSmallSquare$LaunchDirectory gives the directory in which the executable for the Mathematica kernel program being run resides.

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

FilledSmallSquare$LaunchDirectory gives the directory for the actual Mathematica kernel executable, not the directory for scripts such as math that call it.

FilledSmallSquare After installation on a hard disk, $LaunchDirectory is typically the Kernel/Binaries subdirectory of $TopDirectory.

FilledSmallSquare See The Mathematica Book: Section 2.11.4.

FilledSmallSquare See also: $TopDirectory, $CommandLine, $InitialDirectory, $InstallationDate.

$TopDirectoryLinkLaunch