Syntax
CompressFile <infile> <outfile>Description
Compress a file using RFC 1950 compression.Parameters
<infile>
- The file to be compressed
<outfile>
- The file to receive the compressed data
Remarks
Compress uses RFC 1950 (ZLIB Compressed Data Format Specification). See also UncompressFile.RFC 1950-compressed files can be uncompressed by many popular file compression programs such as WinZip and RAR if the compressed file is given the .gz extension as in the following example.
Example
CompressFile "myfile.txt" "myfile.gz"