EW Windows Uploader - Command Line Parameters EW Avionics Logo
Prev    Next Contents

EW Windows Uploader accepts a number of options on the command line in the form of switches. No other parameters are accepted. These switches are primarily intended for situations where EW Windows Uploader is called by another program, such as a competition task evaluation package. These switches are a subset of those defined for the MS-DOS "short" programs in the IGC GNSS Technical Specification.

Switches can be prefixed by either '-' or '/'. Multiple switches can be given in a single token, e.g., -qo but switches which take a parameter (e.g, -p or -d) must be the last in their token. -x changes to manufacturer specific switches for the remainder of the token. As is usual for command lines, if the token contains spaces then they should be enclosed in double quotes, e.g. one of:

-d"C:\Program Files\My App"
-dC:\"Program Files"\"My App"
"-dC:\Program Files\My App"
-dC:\Program" "Files\My" "App
Switch Meaning
-d

Use the directory which is current at program start up as the default for each file save. -d without a specified directory is equivalent to -d<dir> for the directory which is current when the program starts.

-d<dir>

Use the specified directory as the default for each file save operation. Even if the directory is changed using the Save As dialog it reverts to the specified directory for subsequent saves.

This switch also suppresses the behaviour of Windows 98 and 2000 and later whereby the file is saved in the user's personal folder (usually My Documents) if there are no .IGC files already present in the current directory.

-o

Overwrite existing files when saving newly uploaded files.

When -q is not specified this switch has the effect of suppressing the checking for an existing file normally done by the Save As dialog processing. Any file with the chosen file name is overwritten without warning.

When -q is specified the default file name is used even if a file with that name already exists.

-p<port>

Use the specified port only, instead of the default behaviour which is to attempt to open a range of possible ports.

<port> is the port number in the range 0 to 12, inclusive, indicating the corresponding COM0 to COM12. 1 to 4 are the most common values, e.g., -p2 for COM2 only.

-q

Quiet mode. Causes the Save As dialog to be skipped in most cases. The default file name is used. If a file with that name already exists and -o is not specified then other file names following the IGC standard naming convention but with the final letter/digit set to, in order, 'Z', 'Y', 'X' and so on back to '0' are tried in order. If files with all of these names exist then the Save As dialog is shown.

Also causes the directory name to be removed from the message box confirming that the file has been saved. It is included, however, in certain messages boxes for error conditions.

Note that this switch does not affect other aspects of the user interface such as requiring the user to select the trace to upload. If there are problems with the trace the dialog box listing them is still shown.

-xw

This manufacturer specific switch affects the .IGC file written for positions which are not known to be defined relative to the WGS 84 datum. Typically these arise because the GPS is not set to WGS 84, does not output the datum in use (e.g., the Garmin GPS-100) or the position is on one of the first few samples of the trace before the datum has been established. The normal action is to mark such positions as invalid in the .IGC file whereas with this switch otherwise valid positions are left valid.

More details are available in EW Avionics IGC File Format - REX Code Interpretation.


Prev    Next Contents