$CommandLine

$CommandLine

is a list of strings giving the elements of the original operating system command line with which the current instantiation of the Wolfram Language was invoked.

Examples

Basic Examples  (1)

Typical $CommandLine when using the notebook interface on Windows:

In[1]:=
Click for copyable input
Out[1]=

See Also

Environment  $ScriptCommandLine  $InstallationDirectory  $BatchInput  $BatchOutput  $Linked  In  $InitialDirectory  $ProcessID  $EvaluationCloudObject  $UserAgentString  $SystemShell  $EvaluationEnvironment

Tutorials

Introduced in 1988
(1.0)