ZipApi_ExtractFile

Description

Function ZipApi_ExtractFile$(
zipHandle%,
fileName$,
destName$,
password$
)

Extracts a file from a ZIP and returns the path to open it.

Parameters

zipHandle

Handle to a ZIP resource opened with ZipApi_Open.

fileName

The name of the file within the ZIP to extract.

destName

Optional destination to extract the file to. If an empty string is passed, will extract to the Windows temp directory.

password

Optional password if extracting a password protected file.

Return Values

String containing the path of the extracted file, or an empty string if there was an error.

See Also

ZipApi_Open