NTDOC,

I ran your code posted: posted 16. June 2003 09:36.

It functions with winzip9 beta - cmd line
but in winzip8 cmd line, it will fail on file names with -v in them.
(0004642 Rider-Bell Denise Marilyn -v Carison)

This is the code I ran, with the change for the winzip8 cmd line.
--------------
break on
$basedir="c:\files"
$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 -a -ex -rp "$archdir$filename.zip" "$basedir\$filename\*.*"'
ENDIF
$filename=dir()
LOOP
EXIT 0
------------

Tested on a WindowsXP WZ8+cmdline

I hope I can see it your way, then it may work.
Thanks for your patience
Phoe.