Zip zipFile$, fileList$()

This command creates a zip archive. zipFile$ is the zip file name. The file name is relative to the current working directory. fileList$() is a string array which contains the path and file name of the files to be added to the archive. If an entry in the file list is a directory then that directory and it's contents will be added to the archive. Empty strings in fileList$() will be skipped.

Here is an example of how to zip all the files in the Graphics directory.

dim fileList$(0) = "Graphics"

Zip "", fileList$()



Become a Patron