SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.file‎ > ‎

Unzip


Platform Objects


Description

Unzips a .zip file into a designated folder.

Syntax


target.file.UnZip(zip, folder)

zip (input) - The .zip file to be unzipped.
folder (input) - The location/path of the folder for the unzipped content.

Return value


Files from the .zip file will be placed in the designated folder/path.

Sample

'---------- Start ----------
Function Start

target.file.UnZip "C:\FileTestFolder\FileZipSample.zip", "C:\FileTestFolder"

End Function

See also


Platform Objects and Methods
target.file.SetDate
target.file.Write
target.file