delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/21/21:17:09

Message-ID: <000301be15be$5cf237e0$c82c1ec8@enterprise-z>
From: "Jorge Ivan Meza Martinez" <jimeza AT usa DOT net>
To: <djgpp AT delorie DOT com>
Subject: real size of disks
Date: Sat, 21 Nov 1998 17:21:08 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

I am making an application to split large files into small ones,
but I need to know the exact size of the drives,
for the 3 1/2" drive, I tought to use 1.44 * 1024 bytes, but
this value is very much longer than the real one,
in Windows, the "1.44"MB appears like 1.38MB.

How do I get the real sizes of the drives ?
Am I miscalculating its values ?

thank you,

       Jorge Ivan Meza Martinez
               jimeza AT usa DOT net
   jimezam AT armenia DOT multi DOT net DOT co
            jimeza.home.ml.org

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019