var
drv : String;
SectPerCls,
BytesPerCls,
FreeCls,
TotCls : DWord;
begin
drv := 'C:\';
GetDiskFreeSpace(PChar(drv), SectPerCls, BytesPerCls, FreeCls, TotCls);
Label11.Caption := FormatFloat('0.00', (SectPerCls * BytesPerCls *
TotCls)/1000000) + ' MB';
Label12.Caption := FormatFloat('0.00', (SectPerCls * BytesPerCls *
FreeCls)/1000000) + ' MB';
end;