[delphizip] Re: Filename start with '-'

  • From: "Russell Peters" <russellpeters@xxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Thu, 7 Nov 2002 07:44:42 +1100

ZipDll still has the original command line interface inwhich "-" is used as
a switch character, the arguments sent from the VCL are turned into a list
of switches and commands which are then passed to dllzip for processing.
I have been doing a bit of work to remove this layer (I dislike the memory
expense of replication long lists).
I will have a try when I can.
Russell Peters
http://www.users.bigpond.com/russellpeters/delphizip.html
----- Original Message -----
From: "Roger Aelbrecht" <Roger.Aelbrecht@xxxxxxxxxx>
To: <delphizip@xxxxxxxxxxxxx>
Sent: Thursday, November 07, 2002 6:47 AM
Subject: [delphizip] Re: Filename start with '-'


>
> ----- Original Message -----
> From: "LYCJ" <lycj@xxxxxxxxx>
> To: <delphizip@xxxxxxxxxxxxx>
> Sent: Wednesday, November 06, 2002 2:59 PM
> Subject: [delphizip] Filename start with '-'
>
>
> >
> > I just noticed that you cant delete any filename start with '-' , is
that
> possible to add a "" when sending it to dll?
> > Thanks
> > Regards
> > Joseph Leung
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Y! Web Hosting - Let the expert host your web site
> >
>
> Just tested adding file with filename beginning with '-' is also not
> possible
>
> I may be wrong but we just cannot add something to the filename before
> sending to the dll
> The dll uses the name as we pass it to find the file.
> So if we add something before passing to the dll, we have to remove it in
> the
> DLL
> how are we going to know when we are allowed to remove anything
>
> If I am wrong here, please tell me.
>
> The problem can be avoided by passing a directory name in front of the
> filename.
> Make the root dir one step less long and add this in front of the
filenames.
>
> HTH
>
> Roger Aelbrecht
> http://web.wanadoo.be/driehoeksw
>
>
>
>
>



Other related posts: