This sample demonstrates how to extract files from ZIP archives with ZipForge
Download ZipForge | Learn More | All Delphi samples
program UnzipFile;
{$APPTYPE CONSOLE}
uses
SysUtils, ZipForge;
var
archiver : TZipForge;
begin
archiver := TZipForge.Create(nil);
try
with archiver do
begin
FileName := 'C:\test.zip';
OpenArchive(fmOpenRead);
BaseDir := 'C:\temp';
ExtractFiles('*.*');
CloseArchive();
end;
except
on E: Exception do
begin
Writeln('Exception: ', E.Message);
Readln;
end;
end;
end.
Download ZipForge | Learn More | All Delphi samples |
|
|
Current version: 6.95
Released: January 21, 2019
Price: $ 69
|
|
Thanks again for the superb tech support, I was worried I'd hit a brick wall this close to the finish line. Even working on the weekend... you guys rock!!!
Bob Boyd
|
|
|