Skip to main content

ExtractZipFilesFromMask

Structure

ExtractZipFilesFromMask(sDestinationDir, sMask)

Parameters

ParameterTypeDescription
sDestinationDirStringDestination folder where the file(s) should be extracted to
sMaskStringfile name or Mask to be used when extracting files

Return value

None

Description

This function extracts 1 or more files from the currently opened ZIP file (Opened with OpenZipAsFile). Pass the directory where you want the files extracted and then a 2nd parameter that specifies 1 specific filename or a mask (ie. *.BMP)

Example

ExtractZipFilesFromMask(GetIndySoftTempDir,"*.BMP")