>>>Hi All,
>>>
>>>In the case of a file that's more than 2Gig, ADIR() returns a negative filesize. The size is 2.451.450.455 and adir() says it's -1843516841.
>>>
>>>Maybe there's an algorithm that I can use to convert that negative number? Or can I use some API call?
>>
>>See FAQ#7847 or use the WSH to get the file information using its GetFile() function.
>
>Faq 7847 is your solution for my other problem (free diskspace), not for the filesize problem. Thanks anyway. :)
Whoops, should have said FILE#
9316.
George
Ubi caritas et amor, deus ibi est