Displays or alters the compression of files on NTFS file system partitions.
Value |
Description |
Location |
Included in the Windows source files |
Arguments
Value |
Description |
/C |
Compresses the specified files. Directories will be marked so that files added afterward will be compressed. |
/V |
Decompresses the specified files. Directories will be marked so that files added afterward will not be compressed. |
/S |
Performs the specified operation on files in the given directory and in all subdirectories. Default dir is the current directory. |
/A |
Displays files with the hidden or system attributes. These files are omitted by default. |
/I |
Continues performing the specified operation even after errors have occurred. By default, Compact.exe stops when an error is encountered. |
/F |
Forces the compress operation on all specified files, even those which are already compressed. Already-compressed files are skipped by default. |
/Q |
Reports only the most essential information. |
filename |
Specifies a pattern, file, or directory. |
Related Topics