File Content Extraction 25.1
Viewing SDK Programming Guide

# UnZipEx

Extracts the subfiles in the currently opened container file to disk without requiring the user to respond to dialog boxes.

## Syntax

    bRet = KeyView.UnZipEx(TargetDirectory, Password, bFailIfExists, bPreserveDirectory)

## Parameters

Parameter | Type | Description
--- | --- | ---
`TargetDirectory` | String | The directory to which to extract the subfiles.
`PassWord` | String | The password to use to open a password-protected container file.
`bFailIfExists` | Boolean | If `TRUE` and a subfile is extracted and a file of the same name already exists in the target directory, the existing file is not overwritten. If `FALSE`, the existing subfile is overwritten.
`bPreserveDirectory` | Boolean | If `TRUE`, the directory structure is preserved. If `FALSE`, the directory structure is not preserved.

## Returns

Type | Description
--- | ---
Boolean | `TRUE` if the method succeeds. `FALSE` if the method fails.

Copyright 2016-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.1

Topic Title: UnZipEx