When I run this code
Code: Select all
OpenConsole()
MyZIP.s = "C:\TestFile.zip"
Path.s = "C:\Picasa2\*.*"
If PureZIP_Archive_Create(MyZIP.s, #APPEND_STATUS_CREATE)
PrintN("Compressing files, please wait...")
PrintN("")
PureZIP_AddFiles(MyZIP.s, Path.s, #PureZIP_StorePathRelative, #PureZIP_Recursive)
PureZIP_Archive_Close()
PrintN("")
PrintN("Compression completed!")
EndIf
PrintN("Archive contains "+Str(PureZIP_GetFileCount(MyZIP.s))+" files.")
PrintN("")
PrintN("Press any key to exit!")
Input()
CloseConsole()
When I compress a folder containing 34 files and 5 folders, PureZIP_GetFileCount reports it compressed 40 files. Is that the extra empty file it's counting?
Any feedback on this?