Util.CompressFile() Method
Compress a file using the zip-deflate (RFC1981) algorithm
Syntax
Util.CompressFile(Source, Destination)
The method syntax has these parts:
| Part |
Description |
| Source (String) |
The full pathname of the source (uncompressed) file |
| Destination (String) |
The full pathname of the compressed (destination) file. This should end in .zip |
| Return (Nothing) |
Does not return a value. |
Remarks
This method compresses a file using the common ZIP algorithm (see RFC1981). The resulting file can be decompressed by any tool that supports zip compression. The compression is done using the 7-Zip tool, which is run as a separate executable. This tool is included with ACP.
Copyright © 2000-2016, Robert B. Denny, Mesa, AZ