USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Compress a file or folder using the .NET ZipFile class
Creates a zip archive using the .NET 4.5 ZipFile class, which has no size restrictions and produces archives readable by Windows Explorer without third-party tools. Optionally deletes the source after archiving.
| Parameter | Description |
|---|---|
| cmd | Source file or folder to compress |
| Argument 0 | Target zip file path to create |
| Argument 1 | True to delete the source after zipping (default: True) |
ZipNet "Source file or folder to compress", "Target zip file path to create", "True to delete the source after zipping (default: True)"