Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correct cluster size
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00546141
Message ID:
00546256
Views:
28
>>Is there an API function to report how much space is "really used" (round up to the nearest cluster) by a file? 'Cause I do get correct information when I check a file's properties in the Explorer.
>>
>No there isn't. If I recall correctly, information regarding the cluster size is stored by the ROM BIOS. Windows probably loads this information on startup. There's no way via the API to interface with the ROM BIOS interrupt functions to retrieve this information.

Stupid question George ... since, by whatever means, Windows "knows" this information, why wouldn't they provide a "hook" so programmers could get the information programmatically?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform