WinZip

WinZip is part of the CategoryAplTree project.

WinZip was once a part of the CategoryAplTree project before it was suspended in September 2016.

The reason is that it does not behave when installed under a modern Windows system: it retires some OS-system DLLs, and it does not even bring them back when un-installed. In other words. it compromises a Windows system. See SevenZip as an alternative.

Warning

Note that WinZip issues an error when you pass something like this with the flag to preserve the directory structure:

C:\My\folder1\file.txt
C:\My\folder2\file.txt

According to the company behind WinZip this is nit a bug but by design. Therefore WinZip will issue a DOMAIN ERROR if you have to files with the same name in your list of files to be zipped.

Overview

The class "WinZip" relies on an installed version of WinZip and the command line extension. If both are installed on your machine then will will have the two executables WZZIP.EXE (for zipping) and WZUNZIP.EXE (for unzipping) somewhere, typically in C:\Program Files (x86)\WinZip.

The class makes it very easy to zip as well as unzip stuff.

Examples

Zip all files in C:\MyFolder\ recursively into myZipFile.zip:

 (rc more)←#.WinZip.Create 'C:\MyFolder\*' 'myZipFile.zip'

Zip two files nto myZipFile.zip:

(rc more)←#.WinZip.Create ('C:\file1' 'C:\file2') 'C:\MyZipFile'

Unpack C:\MyZip.zip into C:\MyUnzippedFiles\:

 (rc more)←#.WinZip.Extract 'C:\MyZip.zip' 'C:\MyUnzippedFiles\'

Project Page

For bug reports, future enhancements and a full version history see WinZip/ProjectPage

Version Information

Original author:

KaiJaeger

Responsible:

KaiJaeger

Email:

kai@aplteam.com


CategoryAplTree

WinZip (last edited 2016-09-13 15:27:22 by KaiJaeger)