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.