BE_Unzip

BE_Unzip ( archivePath {; outputFolderPath } )

Unzips the archive file found at the path archivePath. The unzipped file(s) are put into the same location as the zip file itself by default, or into the outputFolderPath folder if specified. Any existing file(s) will be overwritten.

Version : 1.3
Version : 2.2 added the outputFolderPath parameter.

Parameters :
archivePath : a system file path.
outputFolderPath ( optional ) : a system folder path to put the result.

Result : 0 on success. Error values can be retrieved with BE_GetLastError.

 

Examples :

//Select a zip file and unzip it.
BE_Unzip ( BE_SelectFile ( "Select a Zip file to unzip." ) )

//Select a file on the desktop
BE_Unzip ( "/Users/nick/Desktop/MyFile.zip" )

//Select a file on the desktop, to other folder
BE_Unzip ( "/Users/nick/Desktop/MyFile.zip" ; "/Users/nick/Desktop/ResultFolder" )

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.