>Adir does not work with files biger than 2 GB
>It presents size negative.
Visual FoxPro can't handle files larger than 2 GB in lots of circumstances (I am not sure if this was solved in VFP9, at least for the LLFF).
Did you try if adir() also fails in previous versions, or is this a new bug?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)