Command Line Parameters

Command Line Parameters

Command line parameters may be used to alter the operation of ZipControl. The parameters may be passed to ZipControl when started from a command line or may be entered in the "Parameters" field of the ZipControl program reference object on the Desktop.

-c
Code for locale to override that stored in the ZipControl preferences file, e.g., -cen_US, -cde_DE (language_country)

-h
Displays ZipControl command line syntax.

-k
Kills all instances of ZipControl, even non-visible ones, e.g., the -s startup stub used for performance reasons.

-l
The default diagnostic log file is a binary file, zipcontrol.log, in the ZipControl product directory (or the preferences file directory, if different). This option establishes a different path and filename for the log file, e.g., -ld:\logs\jones.log

-m
Starts ZipControl with the first instance (window) minimized.

-p
The default preferences file used by ZipControl is named zipcontrol.properties and is expected to be in the same directory as ZipControl.

This parameter (-p) permits establishing one or more alternate preferences files for ZipControl's use. The alternate preferences file may contain different zipping, unzipping, and paths settings and program names, etc., as set by the options selected in the Settings notebook.

Or this capability could be used in a networked environment to enable having one copy of ZipControl on a network drive, with each individual user's preferences stored in a personal, local or network preferences file.

It is recommended that the full drive, directory, and preferences filename be used with the -p parameter, e.g.,
zipcontrol -pd:\preferences\jones.properties

-s
Startup ZipControl with no initial window and remain resident, even after the last ZipControl window has been closed. This option is used to enhance initial ZipControl display performance, as a ZipControl stub program will be pre-loaded. The best way to use this option is in the startup folder or startup batch file.

-t
Temporary directory, used by ZipControl for work files, e.g., /home/me/tmp, D:\temp

The default temporary directory is what the operating sytsem reports.

-v
Saves diagnostic information to a binary log file, zipcontrol.log, in the ZipControl product directory (or the preferences file directory, if different), or as defined with the -l option. For this option to take effect, first run, from a command line, ZipControl with the -k option to ensure there is no running, even hidden (-r or -s), instance of ZipControl.

-?
Displays ZipControl command line syntax.