VOGONS


First post, by Kahenraz

User metadata
Rank l33t
Rank
l33t

I'm testing out PKZIP 2.5, the last version available for DOS, and I'm having some trouble compressing a test directory. The layout is:

C:\test\a\a
C:\test\b\b
C:\test\c\c

I want to compress the content of folder 'test' into the root of a file a.zip and exclude the 'b' directory. I am using the following command:

zip a.zip -rp -xtest\b\ test\*

This stores all files and subdirectories and excludes 'C:\test\b' as expected, but not its contents! PKZIP recurses into the directory and adds 'C:\test\b\b'.

I'm assuming that this is an oversight and not something that can be worked around. Can anyone confirm?