Unit 'Zipper' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TUnZipper.UnZipAllFiles

Unzips all files in a zip file, writing them to disk.

Declaration

Source position: zipper.pp line 586

public procedure TUnZipper.UnZipAllFiles; virtual;

procedure TUnZipper.UnZipAllFiles(

  const AZipFileName: RawByteString

);

Arguments

AZipFileName

  

Name of the .zip file unzipped in the method.

Description

This procedure unzips all files in a TZipper object and writes the unzipped files to disk.

The example below unzips the files into "C:\windows\temp":

uses
  Zipper;
var
  UnZipper: TUnZipper;
begin
  UnZipper := TUnZipper.Create;
  try
    UnZipper.FileName := ZipFilePath;
    UnZipper.OutputPath := 'C:\Windows\Temp';
    UnZipper.UnZipAllFiles;
  finally
    UnZipper.Free;
  end;
end.

Documentation generated on: Nov 23 2024