Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correct cluster size
Message
 
À
20/08/2001 08:50:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00546141
Message ID:
00546152
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform