COMPACT – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Display or alter the compression of files on NTFS partitions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
Syntax COMPACT [/C | /U] [/S[:dir]] [/A] [ /I] [/F] [/Q] [filename [...]] Key /C Compress the specified files. Directories will be marked so that files added afterward will be compressed. /U Uncompress the specified files. Directories will be marked so that files added afterward will not be compressed. /S Perform the specified operation on files in the given directory and all subdirectories. Default "dir" is the current directory. /A Display files with the hidden or system attributes. These files are omitted by default. /I Continue performing the specified operation even after errors have occurred. By default, COMPACT will stop when an error is encountered. /F Force the compress operation on all specified files, even those which are already compressed. Already-compressed files are skipped by default. /Q Report only the most essential information. 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 can use multiple filenames and wildcards. You must put spaces between multiple parameters.