I have a directory with the file extensions of .LOG and .LOG_LIX. When I do
a

numberof = adir(testing,'*.log').

I get all the files, but what I want is just the files with the LOG
extension and not the ones with LOG_LIX. Is there something that I am
missing with the ADIR() command?

Any help is grateful,
Dale

Re: ADIR() Question by Josh

Josh
Wed Mar 03 12:53:01 CST 2004


I would just do your adir() then scan and use justext() and if it's not "LOG"
delete the row & redemension the array.

On Wed, 3 Mar 2004 13:32:21 -0500, "Dale Clarkston" <dclarkston@lcounty.com>
wrote:

>I have a directory with the file extensions of .LOG and .LOG_LIX. When I do
>a
>
>numberof = adir(testing,'*.log').
>
>I get all the files, but what I want is just the files with the LOG
>extension and not the ones with LOG_LIX. Is there something that I am
>missing with the ADIR() command?
>
>Any help is grateful,
>Dale
>


---
Remove x's to send.