# \*TOOLS/UNZIP Unzip Contents of ZIP File into a Directory

> Source: https://manual.pvxplus.com/utilities/unzipcontents

## 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.<br>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](https://manual.pvxplus.com/pxplus-user-guide/file-handling/processing-data-files/accessing-zip-files)**
