Name

compact

Synopsis

compact [options] [files]

Compress or uncompress the specified files, setting directories’ default settings, or display the compression status of the specified files. If omitted, the file list defaults to the current directory and its contents.

Options

/C | /U

Specify a compression operation or an uncompression operation, respectively.

/S[:dir]

Recurse subdirectories in the file list. If specified, dir sets the current working directory.

/F

Force compression even on already compressed files. (These are skipped by default.)

/I

Continue processing files even if an error occurs.

/Q

Request terse output.

/A

Display hidden and system files that are omitted by default (these files are processed, however).

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.