CreateZip

Description

Creates a zip file at the specified location and opens it ready for files to be added. Files cannot be read or extracted from a zip file using this command. Use ExtractZip to retrieve files from it.

The file path is relative to the current directory set using SetFolder unless you start the path with a forward slash, in which case the path will be relative to the root of the write directory on the current platform.

Definition

integer CreateZip( filename )

CreateZip( zipID, filename )

Parameters