Description:
Extract one or more files from a zip
file.
Syntax:
zip_extract(zip, files, path)
Note:
The external library function (See External Library Guide) extracts one or more specified files from a zip file onto a path.
Parameter:
zip |
A zip file object |
files |
A compressed file or a FileObject; can be a sequence |
Return value:
Boolean value
Example:
|
A |
|
1 |
=zip_open("D:/z2.zip") |
Open a zip file |
2 |
=zip_extract(A1,"*.txt") |
Extract txt files into D:/ directory holding the zip file |
3 |
=zip_extract(A1,"*.csv","D:/csvfile") |
Extract csv files into D:/csvfile directory |
4 |
>zip_close(A1) |
Close a zip file |