#1 Re: Low level and performance » How to unzip or zip files content » 2012-09-25 12:44:03

procedure synZipZipper(const aSourceFilename,aTargetFilename:string);
    begin if (fileExists(aTargetFilename)) then DeleteFile(aTargetFilename);
          with TZipWrite.Create(aTargetFilename) do
               try AddDeflated(aSourceFilename)
               finally free end
          end;

Board footer

Powered by FluxBB