[delphizip] Re: How to include special files AFTER the filelist has been determined

  • From: Alistair George <bigal@xxxxxxxxxx>
  • To: Russell Peters <delphizip@xxxxxxxxxxxxx>
  • Date: Thu, 28 Nov 2002 20:25:25 +1300

Hello Russell,
To put it another way.....
When the browser adds files to be compressed, it either adds whole directories, 
or in some cases
(few) individual filenames. These end up as being input as the files to a
stringlist. I had guessed that FSpecArgs.Add('*.EXE') would act as a filter on
top of the tendered filelist.
If that is not the case it is a wee problem.
For example, my Virtual Explorer selects a directory and tenders it as
c:\mydirectory\*.* ; not individual filenames which would be much easier to
parse.
If it is in the too hard basket I will omit the inclusion option.
Cheers,
Al+



Thursday, November 28, 2002, 5:48:31 PM, you wrote:

RP> ZipMaster1.FSpecArgs.Add('*.EXE') only adds '*.EXE' to the list of filespecs
RP> to be added to the zip.
RP> If the list already contains '*.*' then everything will be added.
RP> I am not certain what you are trying to do.
RP> Russell Peters
RP> http://www.users.bigpond.com/russellpeters/delphizip.html
RP> ----- Original Message -----
RP> From: "Alistair George" <bigal@xxxxxxxxxx>
RP> To: <delphizip@xxxxxxxxxxxxx>
RP> Sent: Thursday, November 28, 2002 1:29 PM
RP> Subject: [delphizip] How to include special files AFTER the filelist has
RP> been determined


>>
>> Hello,
>> Am a bit stuck desire only EXE files to be included:
>>
>> ZipMaster1.FSpecArgs.Add('*.EXE');
>> // the above would be fine, but normally we add a stringlist of
>> files/directories selected, which will included *.* etc.
>> They seem to override ZipMaster1.FSpecArgs.Add('*.EXE');
>>
>> How to do this please?
>> Thanks,
>> Al+
>>
>>
>>





-- 
Regards,
 Alistair+


Other related posts: