JScript | |
---|---|
public static function ExtractZip( zipFilePath : String, targetDir : String, merge : boolean, rewrite : boolean ) : int; |
Parameters
- zipFilePath
- The path to the Zip file to extract.
- targetDir
- Merge the entries from the archive with entries in the target folder. Overwrite existing entries in the target folder. The full path to the destination folder.
If targetDir does not exist, a new folder will be created.
If targetDir is not empty and "merge" flag is false, System.ArgumentException will be thrown.
- merge
- Merge the entries from the archive with entries in the target folder.
- rewrite
- Overwrite existing entries in the target folder.
Return Value
A count of extracted files.Exception | Description |
---|---|
System.ArgumentException | Zip file doesn't exist or destination folder is not empty and "merge" flag is false. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family