_CmdLine Function

Purpose

Returns the command line.

Syntax

$ =_CmdLine[$]

Description

_CmdLine returns the MS-DOS or Windows command line; the filename and the command line parameters passed when the program is started. Used in the IDE the _CmdLine returns the IDE name including its full path.

Example

Print _CmdLine

Remarks

_CmdLine is equivalent with Print Char{GetCommandLine()}

_CmdLine is the only function that includes the program's filename (full path).

See Also

_DosCmd$, Arguments

{Created by Sjouke Hamstra; Last updated: 18/09/2014 by James Gaite}