Utility Routines

*TOOLS/UNZIP

Unzip Contents of ZIP File into a Directory

Invocation

CALL "*tools/unzip" [,ERR=stmtref], zipfile$, [targetDirectory$ [,suppressMsg [,suppressOverwrite]]]

Where:

zipfile$

 

Name of the ZIP file to unzip.

targetDirectory$

Optional

Directory into which the ZIP file will be unzipped. (Default is the current directory.)

suppressMsg

Optional

Suppress message flag. Set to non-zero to suppress messages. (Messages are displayed by default.)

suppressOverwrite

Optional

If the suppressMsg flag is set to non-zero, then this flag can be set to zero to overwrite existing files (default) or to non-zero to suppress replacing existing files.

If the suppressMsg flag is set to zero, then the end user will be asked via MSGBOX whether to overwrite or skip existing files or to abort the unzip process. This flag will be used to set the default MSGBOX button.

Description

Extract the contents of a ZIP file into the specified directory.

See Also

Accessing ZIP Files