HB_ZIPDELETEFILES()
Delete files from an zip archive
- Syntax
-
- HB_ZIPDELETEFILES(<cFile>,<cFiletoDelete>|<aFiles>) --> <lDeleted>
- Arguments
-
- <cFile> The name of the zip files from where the files will be deleted
- <cFiletoDelete> An File to be removed
- <aFiles> An Array of Files to Be Removed
- Returns
-
- <lDeleted> If the files are deleted , it will return .T., otherwise it will return .f. for the Follow cases: Spanned Archives, the file could not be found in the zip file.
- Description
-
- This function removes files from an Zip archive.
Examples
? "has the file zipnew.i been deleted ",if(HB_ZIPDELETEFILES('\test23.zip','zipnew.i'),"Yes","No")
- Status
- Ready
- Compliance
-
- This function is a Harbour extension
- Platforms
-
- All
- Files
-
- Library is zlib.lib and zlib_bor.lib For Borland Compilers Library is zlib.lib zlib_ms.lib for MSVC compilers