Go to Home page Contact us Send email to us We respect your privacy
Our Consulting services Our Java software Our AS/400 software Current page is Windows software


Introduction
Construct Files
Transform Files
Small Example
Larger Example
Command Line
Typical Uses
Downloads
History

PSPZap Command Line

You can pass parameters to PSPZap upon start-up. How you do this is determined by your operating system. If you run PSPZap in a Win32 DOS box it could look like this:

C:\test>pspzap so1.txt ta1.txt tr1.txt C:\data\input.txt C:\data\output.txt

The 5 parameters are all file names. In the example above:

so1.txt : Source construct file
ta1.txt : Target construct file
tr1.txt : Transform file
input.txt : Input data file
output.txt : Output data file

You may have any number of parameters between zero (none) and five. Each parameter may include a path to the file e.g. C:\data\ for the last two parameters in the example above.

If you include input files - any of the first four parameters - these are automatically loaded before the PSPZap screen displays.

You can use command line parameters to simplify your processing. For example, if you do a large number of PSPZap conversions which all use the same parameter files (source, target, transform), you can pass these three file names on the command line to PSPZap. This saves you having to load the three files repeatedly when the PSPZap screen displays.