Skip to content

Command Line Parameters

The Database Export Wizard can be started with command line parameters for specifying the workspace, file number or file name, and/or field numbers. When the wizard is started from Database Explorer, command line options are used.

Workspace

Specify a workspace using -xNAME. You can pass the name of either the .WS or .SWS file. The path must be included.

Sample

-x "c:\dataflex examples\order entry\programs\config.ws"

File Name or File Number

Specify a file number using -tNUMBER. For example:

-t21

Specify a file name using -tNAME.

Sample

-t "c:\dataflex examples\order entry\data\VENDOR.dat"

Fields

Specify column numbers using -nNUMBER. Precede each column with -n and separate them with a space.

Sample

-n1 -n2 -n6

The column numbers will be preselected at the field selection wizard page.