Add an empty folder to zip archive created with ZipCreateFile or ZipCreateBuffer.
OutputVar := ZipAddFolder(ZipHandle, ZipFileName)Command Example: ZipAddFolder hZip, "scripts" Function Example: Success := ZipAddFolder(hZip, "scripts")
The name of the variable in which to store 1 / true if file was added successfully or 0 / false if operation failed.
Zip handle returned from ZipCreateFile or ZipCreateBuffer.
Path and name of the folder to use for zip archive.
ZipCreateFile, ZipCloseFile, ZipOptions, UnZip, ZipCreateBuffer, ZipAddBuffer, ZipCloseBuffer, UnZipBuffer, ZipRawMemory, UnZipRawMemory, ZipInfo, ZipAddFile
hZip:=ZipCreateFile("C:\Test.zip") ZipAddFolder(hZip, "scripts") ZipCloseFile(hZip)