windows-nt/Source/XPSP1/NT/base/fs/utils/compact/sdk
2020-09-26 16:20:57 +08:00
..
compact.rc Add source files 2020-09-26 16:20:57 +08:00
makefile Add source files 2020-09-26 16:20:57 +08:00
readme.txt Add source files 2020-09-26 16:20:57 +08:00

Display and Alter the Compression of Files or Directories


The COMPACT tool compresses files on an NTFS drive.

Usage: 

COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/Q] [filename [...]]

/C       Compresses the specified directory or file.
/U       Uncompress the specified directory or file.
/S       Performs the specified operation on matching files in the
         given directory and all subdirectories. Default "dir" is 
         the current directory.
/A       Do not ignore hidden or system files.
/I       Ignore errors.
/F       Force the operation to compress or uncompress the 
         specified directory or file.
/Q       Be less verbose.
filename Specifies a pattern, file, or directory.

When used without parameters, COMPACT displays the compression state of the 
current directory. You may use multiple filenames and wildcards.