Phoenix,

What OS are you using? I tested this on both Windows 95 and 2000 using WinZip v8.0 originally.

Then I upgraded to WinZip 9 beta and it still worked fine.

Check your path to make sure you don't have an OLD version of the command line tools somewhere.

Also copy the code exactly as above. I have run it many times and I do not get that error anymore.

The error was caused by a misuse of quotes "" for the %comspec% call. With the correct usage it works just fine.

It creates a zip file for every top folder under the target folder with recursive files in each zip for each folder.