## DuZip

Zip methods. This lib needs the 7zip command line tool `7za.exe` to be located next to the script on Windows.

View Source Duik_api_fordoc.jsxinc, line 8986

# Members

Type: `string`

#### # static processPath

The path to 7za.exe or 7z.exe (windows only, mac uses the internal command 'zip')

View Source Duik_api_fordoc.jsxinc, line 8996

# Methods

#### # static compressFolderContent(folder, archiveNameopt, wipeFolderopt) → {File}

Compresses the content of a folder

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`folder` | `Folder` |  |  | The folder to zip
`archiveName` | `string` | <optional> | folder.name + ".zip" | The archive name
`wipeFolder` | `boolean` | <optional> | false | Set to true to remove the original folder as soon as the zip is ready

View Source Duik_api_fordoc.jsxinc, line 9010

Returns:
The zip file
Type: `File`