User Guide
ERD Commander 2000
Winternals Software LP Page 25
6.7 COMPRESS
Compresses files or directories.
Syntax
COMPRESS [/P] [/S] [/F] source [..] destination
Switches /P
Preserve path information. This option ensures
that directory information is preserved
/S
Recurse subdirectories
/F
Limit output file size to 1.44 MB
Source
Specifies one or more files and/or directories to
be compressed
Destination
Specifies the output file. ('.CAB' will be
appended to the name automatically.)
Files are compressed producing a CAB format output file. The output file will
always end in ‘.CAB’.
Wildcards are accepted in source file names.
If the /F option is used the resultant CAB file will be split into multiple pieces,
small enough to be copied onto floppy disks. COMPRESS will automatically
split output files if the destination resides on a floppy drive.