Gang,
FSIZE() can return the size of a file in VFP, but not FPW 2.6, which is what Michael is working with. ADIR() is probably the most efficient way of retrieving the size of a file if the fully qualified file name is known and passed to the function.
You can also determine the size of the file in 2.6 (or VFP) by using the low level file functions (FOPEN(), FSEEK(), etc.), but it's a good deal messier.
George
George
Ubi caritas et amor, deus ibi est