ZipAddFiles


 

ZipAddFiles>archive,filespec,compression,folders,result

 

Adds the specified files in filespec to the specified zip archive.  If the archived does not already exist it is created.

 

Compression can be set to any number between 0 and 9 where 9 is best compression.

 

Set folders to 1 to include folders in the zip file, 0 to include only files.

 

result will return 0 if successful, 1 if an error occurred.

 

Abbreviation: ZAF

See also: ZipExtractFiles

 

Example

 

ZipAddFiles>c:\new\my.zip,c:\images\*.bmp,9,0,zipres