main logo
Subject: Re: Adir() and multiple file types
Author: "Anthony L. Testi"
Posted: 2003/01/18 16:34:00
 
View Entire Thread
New Search


Ken:
my 'Vote' is that you have to do it in mutiple steps, either like how you
are doing it now OR get all of the files in a dir then filter the resulting
array down to the types you are interested in. Should be able to create a
UDF for it.
Anthony

----- Original Message -----
From: "Ken Kixmoeller (J/S)" <support /AT/ information-architecture .DO.T com>


> Hey -- -- -- - - - - - - -
>
> Anybody know if it possible to use ADir() to scan for more than one kind
of
> file at a time? I have tried:
>
> ADIR(APics,"D:\MyDir\*.JPG") && works, of course,
>
> but
>
> ADIR(APics,"D:\MyDir\*.JPG;D:\MyDir\*.GIF) && Semi separator
> ADIR(APics,"D:\MyDir\*.JPG,D:\MyDir\*.GIF) && Comma Separator
>
> and multiple other variations, but no luck.
>
> So far, I have had to create multiple arrays and shmush them together.
That
> may be the "right" way, but this seems like one of those "there must be a
> better way" thingies.
>
> Ken
> Post Messages to: ProFox@leafe.com
> Subscription Maintenance: http://leafe.com/mailman/listinfo/profox




 
©2003 Anthony L. Testi
<-- Prior Message New Search Next Message -->