This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
[an error occurred while processing this directive] $CommandLine

  • $CommandLine is a list of strings giving the elements of the original operating system command line with which Mathematica was invoked.
  • See the Mathematica book: Section 2.13.5.
  • See also: Environment, $LaunchDirectory, $BatchInput, $BatchOutput, $Linked, In.