>How do I get the correct cluster size for a disk?
>
>The built-in command in VFP, sys(2022), always returns 32KB for networked drives, but also for FAT32 drives, even if they are local.
>
>Hilmar.
The GetDiskFreeSpace() API call used to correctly return this information. However, with the advent of disks greater than 2 gb, it is not reliable since it caps the amount of space at 2 gb, adjusting the values returned accordingly. In short, this sort of information cannot be reliably returned even from the API.
George
Ubi caritas et amor, deus ibi est