GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • WOLFRAM
  • Products
  • AI AccessUse with Mathematica and Wolfram|One
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App
  • Wolfram|Alpha Website
  • Wolfram|Alpha APIs
  • Wolfram AI Ecosystem

This view

  • Original page
  • New address

GeezerVison is showing reference.wolfram.com — $CommandLine—Wolfram Documentation

$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  
See Also
Tech Notes
Related Guides
History
Cite this Page

$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:

Wolfram Language code: $CommandLine

See Also

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

Programs: wolfram

Tech Notes

    ▪
  • Global System Information
  • ▪
  • Wolfram System Sessions

Related Guides

    ▪
  • System Information
  • ▪
  • Standalone Wolfram Language Kernels
  • ▪
  • External Operations
  • ▪
  • Wolfram System Setup

History

Introduced in 1988 (1.0)

Wolfram Research (1988), $CommandLine, Wolfram Language function, https://reference.wolfram.com/language/ref/$CommandLine.html.

Text

Wolfram Research (1988), $CommandLine, Wolfram Language function, https://reference.wolfram.com/language/ref/$CommandLine.html.

CMS

Wolfram Language. 1988. "$CommandLine." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$CommandLine.html.

APA

Wolfram Language. (1988). $CommandLine. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$CommandLine.html

BibTeX

@misc{reference.wolfram_2026_$commandline, author="Wolfram Research", title="{$CommandLine}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/$CommandLine.html}", note=[Accessed: 12-November-2026]}

BibLaTeX

@online{reference.wolfram_2026_$commandline, organization={Wolfram Research}, title={$CommandLine}, year={1988}, url={https://reference.wolfram.com/language/ref/$CommandLine.html}, note=[Accessed: 12-November-2026]}

Top
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.