Running Batch Export From the Command Line

In addition to running Batch Export from within SQLWizard, you can run it directly from the development environment's command prompt.

To run an export from the development environment's command prompt, call the xwiz40n program file, and pass it the name of your Batch Export file as shown below:

xwiz40n [-iiniFile] filename.EXP 

where:

iniFile specifies which .ini file Wizard should use when it runs the export. If you don't specify an .ini file, xdb.ini in the working directory is used.
filename is the name of your Batch Export file. The filename must include the extension exp in its name (for example, xfile.exp). If you do not specify the path to filename, the .exp file must be in the current application path (the application path is specified on the PATHS tab.

In following example, a Batch Export file called "xempfile" would be run. In this example, the contents of file emp.ini is used to establish SQLWizard's operating configuration.

xwiz40n -ic:\xdb\emp.ini xempfile.exp