# ExtractZip

## Description

Extracts a zip file to a specified directory. Any folders created inside the zip file will be created in the extraction process. If the zip file is password protected specify the password to extract it. If you specify a wrong password, the extracted files from the zip archive will be empty.
The local file path is relative to the current directory set using SetFolder 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.

## Definition

ExtractZip(const zipfilename, path, password)

void agk::ExtractZip(const char* zipfilename, const char* path, const char* password)

ExtractZip( zipfilename, path )

void agk::ExtractZip( const char* zipfilename, const char* path )

## Parameters

- zipfilename - The path to the zip file to extract.
- path - The path to place the newly extracted zip files.
- password - The password that was used to create the zip file.