extract_all Method
Extracts all files from the compressed archive.
Syntax
def extract_all() -> None: ...
Remarks
extract_all extracts all files from the archive. The file(s) will be extracted to the directory specified by extract_to_path, and given the names found in the archive or specified by file_decompressed_name.
If scan has not been invoked when extract_all is called, scan will automatically be invoked, and the file_compressed_name and file_decompressed_name properties will be set to the values found in the archive. To manually set the decompressed filenames, scan should be invoked before setting file_decompressed_name.
The on_begin_file and on_end_file events will be fired before and after each file is extracted, and the on_progress event will be fired as the data is extracted. If WriteToProgressEvent is set to true, the decompressed data will be streamed out through the on_progress event.
Example (Extracting from an Archive)
ZipControl.ArchiveFile = "c:\temp.zip" ZipControl.ExtractToPath = "c:\extracted\" ZipControl.ExtractAll()