Unzips all files in a zip file, writing them to disk.
Source position: zipper.pp line 586
public procedure TUnZipper.UnZipAllFiles; virtual; |
const AZipFileName: RawByteString |
); |
AZipFileName |
|
Name of the .zip file unzipped in the method. |
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.