Re: recursing into subdirectories

"PC Help Center Support" <[email protected]> Wed, 19 Nov 2003 16:22:56 -0500 (Eastern Standard Time)
Newsgroups gmane.comp.archivers.info-zip
Message-ID <3FBBDF30.000001.04060@lenny>
--------------Boundary-00=_8EBMQL80000000000000
Content-Type: Multipart/Alternative;
  boundary="------------Boundary-00=_8EBMLVC0000000000000"


--------------Boundary-00=_8EBMLVC0000000000000
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

add file spec "foo\*.*"=0D
instead..=0D
add file spec "foo/*" =0D
 =0D
-------Original Message-------=0D
 =0D
From: [email protected]=0D
Date: Wednesday, November 19, 2003 12:30:48 PM=0D
To: [email protected]=0D
Subject: [Info-ZIP] recursing into subdirectories=0D
 =0D
Hi.=0D
 =0D
I would be eternally grateful if someone could point me in the right=0D
direction for this. I can't find it on the FAQ.=0D
 =0D
I am using the info-zip DLLS from visual basic using a wrapper from=0D
vbaccelerator.com, but I don't think the problem is in the VB code.=0D
 =0D
say I have a zip file who's root directory is c:\temp and I want to add t=
he=0D
'foo' subdirectory and eveything in it. in my zip file I want to paths to=
=0D
look like this=0D
 =0D
foo/file1=0D
foo/subdir/file2=0D
 =0D
my pseudocode looks like this:=0D
 =0D
let root dir =3D "c\:temp"=0D
let recurse subdirectories =3D true=0D
let store foldernames =3D true=0D
let store directories =3D true=0D
add file spec "foo\*.*"=0D
 =0D
in the zip file, I just get the contents of the foo directory but no=0D
subdirectories (in the above example I just get file1 with no directory=0D
path)=0D
 =0D
if I set the file spec to '*.*' everything works fine (except, of course,=
=0D
that I get all the other subdirectories of temp when I only want foo)=0D
 =0D
I have tried this with winzip and I notice it is possible to do this by=0D
dragging and dropping but not with the 'add files' dialog. of course, I=0D
don't know what info-zip calls winzip is making so it doesn't really help=
 me=0D
much=0D
 =0D
many thanks in advance=0D
 =0D
--- Tim Robinson=0D
 =0D
_______________________________________________=0D
Info-ZIP mailing list=0D
[email protected]=0D
http://lists.wku.edu/mailman/listinfo/info-zip=0D
 =0D
=2E
--------------Boundary-00=_8EBMLVC0000000000000
Content-Type: Text/HTML;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
1">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER></X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px=
 10px 10px; FONT-FAMILY: Arial" bgColor=3D#ffffff background=3D"" scroll=3D=
yes ORGYPOS=3D"0" X-FVER=3D"3.0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" width=3D"100%">
<DIV>add file spec "foo\*.*"</DIV>
<DIV>instead..</DIV>
<DIV>add file spec "foo/*"&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV id=3DIncrediOriginalMessage><I>-------Original Message-------</I></D=
IV>
<DIV>&nbsp;</DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>From:</B></I> <A href=3D"m=
ailto:[email protected]">[email protected]</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Date:</B></I> Wednesday, N=
ovember 19, 2003 12:30:48 PM</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>To:</B></I> <A href=3D"mai=
lto:[email protected]">[email protected]</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Subject:</B></I> [Info-ZIP=
] recursing into subdirectories</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>Hi.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I would be eternally grateful if someone could point me in the right=
</DIV>
<DIV>direction for this. I can't find it on the FAQ.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am using the info-zip DLLS from visual basic using a wrapper from<=
/DIV>
<DIV>vbaccelerator.com, but I don't think the problem is in the VB code.<=
/DIV>
<DIV>&nbsp;</DIV>
<DIV>say I have a zip file who's root directory is c:\temp and I want to =
add the</DIV>
<DIV>'foo' subdirectory and eveything in it. in my zip file I want to pat=
hs to</DIV>
<DIV>look like this</DIV>
<DIV>&nbsp;</DIV>
<DIV>foo/file1</DIV>
<DIV>foo/subdir/file2</DIV>
<DIV>&nbsp;</DIV>
<DIV>my pseudocode looks like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>let root dir =3D "c\:temp"</DIV>
<DIV>let recurse subdirectories =3D true</DIV>
<DIV>let store foldernames =3D true</DIV>
<DIV>let store directories =3D true</DIV>
<DIV>add file spec "foo\*.*"</DIV>
<DIV>&nbsp;</DIV>
<DIV>in the zip file, I just get the contents of the foo directory but no=
</DIV>
<DIV>subdirectories (in the above example I just get file1 with no direct=
ory</DIV>
<DIV>path)</DIV>
<DIV>&nbsp;</DIV>
<DIV>if I set the file spec to '*.*' everything works fine (except, of co=
urse,</DIV>
<DIV>that I get all the other subdirectories of temp when I only want foo=
)</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have tried this with winzip and I notice it is possible to do this=
 by</DIV>
<DIV>dragging and dropping but not with the 'add files' dialog. of course=
, I</DIV>
<DIV>don't know what info-zip calls winzip is making so it doesn't really=
 help me</DIV>
<DIV>much</DIV>
<DIV>&nbsp;</DIV>
<DIV>many thanks in advance</DIV>
<DIV>&nbsp;</DIV>
<DIV>--- Tim Robinson</DIV>
<DIV>&nbsp;</DIV>
<DIV>_______________________________________________</DIV>
<DIV>Info-ZIP mailing list</DIV>
<DIV><A href=3D"mailto:[email protected]">[email protected]</A>=
</DIV>
<DIV><A href=3D"http://lists.wku.edu/mailman/listinfo/info-zip">http://li=
sts.wku.edu/mailman/listinfo/info-zip</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>.</DIV></TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE><SPAN id=3DIncrediStamp><SPAN dir=3Dltr><F=
ONT face=3D"Arial, Helvetica, sans-serif" size=3D2>______________________=
______________________________<BR><FONT face=3D"Comic Sans MS" size=3D2><=
A href=3D"http://www.incredimail.com/redir.asp?ad_id=3D309&amp;lang=3D9">=
<IMG alt=3D"" hspace=3D0 src=3D"cid:BCB9BF56-695F-41C1-BBB4-D7AE4154075A"=
 align=3Dbaseline border=3D0></A>&nbsp; <I>IncrediMail</I> - <B>Email has=
 finally evolved</B> - </FONT><A href=3D"http://www.incredimail.com/redir=
=2Easp?ad_id=3D309&amp;lang=3D9"><FONT face=3D"Times New Roman" size=3D3>=
<B><U>Click Here</U></B></FONT></A></SPAN></SPAN></FONT></BODY></HTML>
--------------Boundary-00=_8EBMLVC0000000000000--

--------------Boundary-00=_8EBMQL80000000000000
Content-Type: image/gif;
  name="IMSTP.gif"
Content-Transfer-Encoding: base64
Content-ID: <BCB9BF56-695F-41C1-BBB4-D7AE4154075A>

R0lGODlhFAAPALMIAP9gAM9gAM8vAM9gL/+QL5AvAGAvAP9gL////wAAAAAAAAAAAAAAAAAAAAAA
AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJFAAIACwAAAAAFAAPAAAEVRDJSaudJuudrxlEKI6B
URlCUYyjKpgYAKSgOBSCDEuGDKgrAtC3Q/R+hkPJEDgYCjpKr5A8WK9OaPFZwHoPqm3366VKyeRt
E30tVVRscMHDqV/u+AgAIfkEBWQACAAsAAAAABQADwAABBIQyUmrvTjrzbv/YCiOZGmeaAQAIfkE
CRQACAAsAgABABAADQAABEoQIUOrpXIOwrsPxiQUheeRAgUA49YNhbCqK1kS9grQhXGAhsDBUJgZ
AL2Dcqkk7ogFpvRAokSn0p4PO6UIuUsQggSmFjKXdAgRAQAh+QQFCgAIACwAAAAAFAAPAAAEEhDJ
Sau9OOvNu/9gKI5kaZ5oBAAh+QQJFAAIACwCAAEAEAANAAAEShAhQ6ulcg7Cuw/GJBSF55ECBQDj
1g2FsKorWRL2CtCFcYCGwMFQmBkAvYNyqSTuiAWm9ECiRKfSng87pQi5SxCCBKYWMpd0CBEBACH5
BAVkAAgALAAAAAAUAA8AAAQSEMlJq7046827/2AojmRpnmgEADs=

--------------Boundary-00=_8EBMQL80000000000000--