CMDLINE

This command returns the command line used to launch the Data Entry module now in use.

Syntax

CMDLINE "option"

If "option" is an empty string ("" or ''), the entire command line is returned.

If "option" contains one or more characters, GainSeeker searches the command line for a text string containing these components in order:

1.   -  (dash),  /  (slash mark) or  \  (backslash)

2.  option, 'option' or "option" (case insensitive)

3.   :  (colon)

If the command line contains this text string, GainSeeker trims any quotation marks from the value following the colon on the command line and then returns the resulting value.

If the command line does not contain this text string, an empty string is returned.

Return value

This command returns a string.

Notes

For more information about command line options for the Data Entry module, see Setting up icons to perform automatic functions.

Examples

CMDLINE "N"

For a Data Entry module command line of DESPC.exe -N:"SPC Manager", this command would return the value "SPC Manager".