ZipCloseFile

关闭由 ZipCreateFile 创建的 zip 压缩包。

OutputVar := ZipCloseFile(ZipHandle)
函数示例: Success := ZipCloseFile(hZip)

参数

OutputVar(输出变量)

如果文件添加成功则存储 1 / true,如果操作失败则存储 0 / false 的变量名称。

ZipHandle(zip 句柄)

ZipCreateFile 返回的 zip 句柄。

相关

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

示例

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