Command Line Options
Previous  Next

Concyl includes a command line interface that allow the user to control program operation and specify optional file names and directories for the input and output files.  There are two types of command line options:  switches and variables.  A switch requires no additional data, while a variable must be followed by an assigned value.  Each command line option begins with a - character.  Variables must be followed by an equal sign and the value.  Each command line option must be separated by at least one space.  Table 2 lists the available command line options.  

Table 2.  Command Line Options

Option
Type
Description
-nogui
switch
turns off GUI, operates using file i/o only
-q
switch
turns on quiet mode, no user intervention
-if
variable
input file, string with full or relative path
-of
variable
output file, string with full or relative path

The -if and -of command line variables are optional and have default values if they are not used. The default input file is "Concyl_Input.txt" and is located in the same directory as the Concyl executable.  The default output file is "Concyl_Output.txt" and will be written to the same directory as the Concyl executable. 
Several sample command line sessions are shown in Table 3 below. 


Table 3.  Sample Command Line Sessions

Command Line
Description
concyl -if="c:/samples/test1.txt"
runs GUI and loads specified input file
concyl -nogui
does a non-GUI run using default file names
concyl -nogui -if="concyl.in" -of="concyl.out"
does a non-GUI run using specified file names
concyl -nogui -q does a non-GUI quiet run using default file names