>yes... it's like waht i need...
>but I'd rather not use functions like this or like ADIR() because I had some problems passing arrays... error like C0005
>
>another idea?
There are no reasons to avoid ADIR() or AGETFILEVERSION(). What version/service pack of VFP are you using?
--sb--