Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!psuvax1!psuvm.bitnet!cunyvm!ndsuvm1.bitnet!nu013809 From: NU013809@NDSUVM1.BITNET (Greg Wettstein) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: PKZIP filenames (was Re: Bugs in v0.90 of PKZIP...) Message-ID: <2047NU013809@NDSUVM1> Date: 19 Mar 89 21:54:21 GMT References: <129.241A07B5@mudos.ann-arbor.mi.us> <4397@drivax.DRI> Organization: North Dakota Higher Education Computer Network, Fargo, ND Lines: 51 DISCLAIMER: Author bears full responsibility for contents of this article. I've noticed the following behavior in PKZIP and I was wondering if this is actually mis-behavior or misinterpretation of the documentation on my part. My desire is to archive the current contents of a sub-directory and store the pathname information so that a sub-directory may be re-created as an extension of the current directory at another time. The sub-directory which is to be stored contains only files no lower level sub-directorys are present. To store the subdirectory I invoked PKZIP with the following command: PKZIP -ap testdir util PKZIP responded an error message stating that it had nothing to do. I modified the command to the following form even though there were not sub-diretories to recurse to: PKZIP -apr testdir util Again PKZIP responded with a message stating that it had nothing to do. I then modified the command to the following form: PKZIP -apr testdir util:*.* This invocation caused the program to archive all the files in the util sub-directory but did not store any pathname information to be assoicated with these files. I verified this by deleting the util sub-directory and then tried to re-create the sub-directory with the following command: PKUNZIP -xd testdir This invocation caused all the files to be extracted to the current (root) directory without creation of the util sub-directory. I then used the following command to create a ZOO archive of the correct form: stuff util | zoo aPI testdir All the files in the util sub-directory were stored with filenames of the form: .:util:xxxxxxxx.xxx I am using Version 0.92 of both PKZIP and PKUNZIP. I would be interested in determing if this is a bug (feature?) or a misunderstanding of the directory recursing features of PKZIP? Either e-mail or followups to the net would be acceptable. Thanks in advance for any information which is extended. As always, G.W. Wettstein BITNET: NU013809@NDSUVM1 #! rnews