Command: zip

Syntax

zip <file> {,<srcfile> ...}

Description

Create a zip archive.

Parameters

Switches

Notes

Care should taken to avoid wildcard archiving where the destination zip file may satsify the wildcard.

Examples

Create a zip archive from a list of files and the contents of a directory.

string curdir=current_dir
cd c:/temp
zip myzip.zip, file1.txt, file2.txt, mydir
cd curdir

See Also

Commands:

unzip