Zip
Description
Description
Compresses a list of files into a zip file or updates an existing zip file.
Syntax
Syntax
target.file.Zip(files, zip, update)
files (input) - Either an array of files or a list of filenames (separated by commas)
zip (input) - The name of the output zip file
update Boolean (input) - If "true," then the script will update a pre-existing zip file. If "False," the script will create new zip file.
Return value
Return value
This function does not return a value but creates a zip file.
Sample
'---------- Start ----------
Function Start
target.file.Zip "C:\FileTestFolder\FileZipSample.txt", "C:\FileTestFolder\FileZipSample.zip", false
End Function
See also