AGK for Pascal
TAgkZip.Extract Method

Extracts a zip file to a specified directory.

class procedure Extract(const ZipFilename: String; const TargetPath: String);
const ZipFilename: String 
The path to the zip file to extract. 
const TargetPath: String 
The path to place the newly extracted zip files. 

This is a class method so you do not have to (and should not) create a TAgkZip object to call this method. 

Any folders created inside the zip file will be created in the extraction process. The local file path is relative to the current directory set using TAgkDirectory.CurrentFolder unless you start the path with a forward slash, in which case the path will be relative to the root of the write directory on the current platform.

Copyright (c) 2012. All rights reserved.