[delphizip] For Your Info AddOptions := AddOptions + [AddResetArchive]+[AddArchiveOnly]; // ClrBit + ONLY DO ARCHIVE ON FILES BIT SET

  • From: Alistair George <bigal@xxxxxxxxxx>
  • To: Russell Peters <delphizip@xxxxxxxxxxxxx>
  • Date: Wed, 27 Nov 2002 09:51:36 +1300

Hello Russell,

The helpfile says:
AddResetArchive  Clears  the  archive bit after a successful Zip Add action.It?s
not necessary to set AddArchiveOnly too.

The above is confusing because one would expect AddResetArchive only adds files
with bit set, not cleared whereas it adds all files in the backup set regardless
and clears the bits.

It should actually do what the helpfile says IMHO
Cheers,
Alistair+


Other related posts: