$ScriptCommandLine

$ScriptCommandLine
is a list of strings giving the elements of the command line with which the standalone Wolfram System script was invoked.

DetailsDetails

  • If the Wolfram Language kernel was invoked via a WolframScript mechanism, the $ScriptCommandLine contains the elements of the command line, starting with the name of the script.
  • If the Wolfram Language kernel was run in a way other than via a WolframScript mechanism, the $ScriptCommandLine gives an empty list.
Introduced in 2010
(8.0)