FileZip

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > File >

FileZip

available from build: 20070518

Description

Creates and fills a zip archive.

Syntax

call DBWShell("FileZip command filePath")

Parameters

command

the mode to run the command in:
New: initialization for zipping operation
Add: equeueing of files to be zipped
Create: starts creation of the zip file

filePath

the zip file to create

See also

FileUnzip

Example

DBWShell("FileZip New " & replace("C:\MyFolder\MyZipArchive.ZIP"," ","|"))

DBWShell("FileZip Add " & replace("C:\MyFolder\MyFile.DOC"," ","|"))
DBWShell("FileZip Create")