Compress Utility

You can use the compress utility (COMPRESS.EXE) to reduce one or more files to 25 to 45 percent of their original size.

To use compress, use the following syntax:

COMPRESS [options]  source destination
 
[[options]]
/?
Displays information on using Compress.
/r
Specifies that compressed files should be renamed.
/z
Specifies the MS-ZIP compression used for files distributed by Microsoft.
source
Specifies the source filename. The filename can include a drive letter, a directory path, or both; it can also contain wildcards.
destination
Specifies the destination. This parameter can consist of a directory (with optional drive letter), a filename, or any combination of the two.

If the source parameter contains wildcards and the destination parameter does not specify a directory, the /r option must be used.

If the destination parameter does not contain a filename, the filename specified in the source option will be used when the file is copied to the location specified by the destination option.