Extract()

extract data out of a compressed file

Extract( format=string, source=string, target=string );

Returns: Boolean

Argument Description
format
string, required

Format to extract

  • bzip
  • gzip
  • tar
  • tbz (tar bzip)
  • tgz (tar gzip)
  • zip
source
string, required

source file or directory with zip files to extract

target
string, required

name of the target directory

Note: For gzip & bzip format must use the file path as the target

Examples

extract("zip", "D:\test.zip", "D:\zipresult")

See also