# Utilities

*TOOLS/ZIP | Zip Contents of a Directory into ZIP File

## Invocation

CALL "*tools/zip" [,ERR=stmtref], zipfile$, [zipDirectory$ [,suppressMsg[,excludeZip]]]

Where:

zipfile$ |  | Name of the ZIP file to load.
zipDirectory$ | Optional | Directory to zip into the ZIP file. The simple directory name will be the root of the ZIP file, e.g. zipping "/app/progs" will create a root directory entry "progs" in the ZIP file. All subordinate directories and files will be included. (Default is to zip the current directory.)
suppressMsg | Optional | Suppress messages flag. Set to non-zero to suppress messages. (Messages are displayed by default.)
excludeZip | Optional | Exclude other ZIP files flag. Set to non-zero to exclude other ZIP files that may reside in the directory structure being zipped. (Other ZIP files are included by default.)

## Description

Zip the contents of a directory and its subdirectories into a ZIP file.

## See Also

Accessing ZIP Files