On 9/29/07, Steven Holt <sh (at) stockpix .D.OT com> wrote: > Thanks, those cluster roundups sound like they are probably more effort > than they are worth.
Not really. If sector size is 2048 bytes, the amount of space taken by a file is:
#DEFINE SectorSize 2048 lnSizeonDisk = (INT(lnSizeofFile/SectorSize) + 1) * SectorSize
-- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
©2007 Ted Roche |