This utility uses the following syntax:
COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/F] [/Q] [filename [...]]
The following list describes each of the command line arguments.
/C Compresses the specified files or directories. Using this command line switch on a directory
marks it so that the system automatically compresses any files added afterward.
/U Uncompresses the specified files or directories. Using this command line switch on a directory
marks it so that the system doesn??™t compress any files added afterward.
/S[:dir] Performs the specified tasks on the current directory or the directory included as an
argument and all subdirectories. The default is the current directory.
/A Forces the system to work with files (compress, uncompress, or query) that have the hidden
or system attributes. Normally, the system skips files with these attributes.
/I Forces Compact to continue performing tasks even after it experiences an error. Normally,
Compact stops performing tasks when it encounters an error. Using this command line switch
allows a batch file to continue processing files, even when some of the files failed to react as
anticipated. You should redirect the output to a log file when using this option to track the errors
and take any required remedial action when the task completes.
Pages:
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956