ZipCloseFile()

Auto Hotkey

ZipCloseFile

Closes zip archive created with ZipCreateFile.

OutputVar := ZipCloseFile(ZipHandle)
Command  Example: ZipCloseFile hZip
Function Example: Success := ZipCloseFile(hZip)

Parameters

OutputVar

The name of the variable in which to store 1 / true if file was added successfully or 0 / false if operation failed.

ZipHandle

Zip handle returned from ZipCreateFile.

Related

ZipCreateFile, ZipAddFile, ZipOptions, UnZip, ZipCreateBuffer, ZipAddBuffer, ZipCloseBuffer, UnZipBuffer, ZipRawMemory, UnZipRawMemory, ZipInfo, ZipAddFolder

Examples

hZip:=ZipCreateFile("C:\Test.zip")
ZipAddFile(hZip, "C:\MyScript.ahk")
ZipCloseFile(hZip)