The
compress function compresses one or more files and saves the compressed files in a single ZIP file. That file can be decompressed with the
decompress function or with other popular tools. Compressing data, in addition to saving size, is a convenient way to bundle several files into a single file.
The argument
zip_file_name is a string expression containing the file name of the output ZIP file. If an existing ZIP file exists with that name, it will be overwritten. The list of input files can come from a string
List,
input_file_list, that could be returned from a
dirlist function call. Alternatively, the list of input files can come from a string expression
input_file_name. If using a string expression, you can use the wildcard characters "*" and "?" to specify a group of files.