Zoomed Image

AMSX Scripting Language - Command : ZipNet

Summary

Compress a file or folder using the .NET ZipFile class

Description

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.

Parameters

ParameterDescription
cmdSource file or folder to compress
Argument 0Target zip file path to create
Argument 1True to delete the source after zipping (default: True)

Syntax


ZipNet "Source file or folder to compress", "Target zip file path to create", "True to delete the source after zipping (default: True)"

Return to the AMSX Command Reference