Phoenix,

Please give this code a try. Make sure WZZIP.EXE is in your path, or use the full path as in my example.

NOTE:

-o = Change the Zip file's file date to the same as the newest file in the Zip file
-ee = extra (enhanced deflate - smallest file)
-r = Recurse into subfolders (include subfolders). This option requires the -p or -P option.
-p|P= Store folder names. A lower case p stores only the names of folders recursed
(subfolders included) via the -r option, while an upper case P stores all folder
information specified on the command line

Example: wzzip.exe -rp Would only contain the child folder names
wzzip.exe -rP Would contain the FULL path and child folder names



break on
$basedir="c:\cli\Clients"
$filename=dir("$basedir\*")
$archdir="c:\zip\"
WHILE ($filename <> "") AND (@error = 0)
IF ($filename <> ".") AND ($filename <> "..") AND (GetFileAttr($basedir+"\"+$filename) & 16)
shell 'C:\PROGRA~1\WinZip\WZZIP.EXE -eeorP $archdir$filename.zip $basedir\$filename\*.*'
ENDIF
$filename=dir()
LOOP
EXIT 1