zip_del()

Read(1738) Label: zip, delete,

Description:
Delete one or more files from a zip file.

Syntax:
zip_del(
zip, files)

Note:

The external library function (See External Library Guide) removes one or more specified file from a zip file.

Parameter:

zip

A zip file ovject

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_del(A1, "dir1/*.java")

Delete all .java files in z2.zip.

3

>zip_close(A1)

Close a zip file.