Displays or alters the compression of files on NTFS partitions.
COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/F] [/Q] [/EXE[:algorithm]]
[/CompactOs[:option]] [filename [...]]
/C Compresses the specified files. Directories will be marked
so that files added afterward will be compressed unless /EXE
is specified.
/U Uncompresses the specified files. Directories will be marked
so that files added afterward will not be compressed. If
/EXE is specified, only files compressed as executables will
be uncompressed; if this is omitted, only NTFS compressed
files will be uncompressed.
/S Performs the specified operation on files in the given
directory and 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 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.
/EXE Use compression optimized for executable files which are read
frequently and not modified. Supported algorithms are:
XPRESS4K (fastest) (default)
XPRESS8K
XPRESS16K
LZX (most compact)
/CompactOs Set or query the system's compression state. Supported options are:
query - Query the system's Compact state.
always - Compress all OS binaries and set the system state to Compact
which remains unless administrator changes it.
never - Uncompress all OS binaries and set the system state to non
Compact which remains unless administrator changes it.
filename Specifies a pattern, file, or directory.
Used without parameters, COMPACT displays the compression state of
the current directory and any files it contains. You may use multiple
filenames and wildcards. You must put spaces between multiple
parameters.
Displays inbound replication requests that the DC needs to issue to become consistent with its source replication partners. ...
Displays information about a user on a specified system running the Finger service. Output varies based on the remote system. ...
Displays information about the current file system for the selected volume, and the supported file systems for formatting ...
Displays messages, or turns command-echoing on or off. ECHO ON | OFF ECHO message Type ECHO without parameters to display ...
Displays or alters the compression of files on NTFS partitions. COMPACT /C | /U /S[:dir /A /I /F /Q /EXE[:algorithm /CompactOs[:option ...
Displays or alters the encryption of directories files on NTFS partitions. CIPHER /E | /D | /C /S:directory /B /H pathname ...
Displays or changes file attributes. ATTRIB +R | -R +A | -A +S | -S +H | -H +I | -I drive:][path][filename /S /D /L + Sets ...
Displays or modifies file extension associations ASSOC .ext[=[fileType .ext Specifies the file extension to associate the ...
Displays or modifies file types used in file extension associations FTYPE fileType[=[openCommandString fileType Specifies ...