Zip

For basic file decompression use this method.

unzipFile
Tries to decompress a .zip file to the target location. For extended functionality add an application like 7zip to cmd.

examples

// unzip a file
function TestUnzipFile()
{    
    var file_source = openFileDialog("select a zip file", folders.home, "*.zip");
    var folder_target = openFolderDialog("select folder to unzip to...", folders.home);
    
    var shouldOverwriteFiles = false;
    echo(unzipFile(file_source, folder_target, shouldOverwriteFiles)); // asks for confirmation
}