>>>Are there VFP functions that return the total bytes in a directory and bytes of individuals files? Thanks in advance.
>>>
>>>Andy Ahrndt
>>>aahrndt@mindspring.com
>>
>>FSIZE() will return file size (if SET COMPATIBLE ON). You can collect all file names into array using ADIR() and calculate total size looping through this array.
>
>Thanks! That will do just what I need.
>
>Andy Ahrndt
Andy,
Take a look at the code in thread "Filling outline control with dir structure" posted today at 10:26. You could make little modification to it to collect what you want.
Cetin