[comp.binaries.ibm.pc.d] TOADFR12.ZIP - Return disk free space as errorlevel

kirsch%maxemail@UUNET.UU.NET (David Kirschbaum) (04/28/91)

I have uploaded to SIMTEL20:

pd1:<msdos.batutl>
TOADFR12.ZIP    Return disk free space as errorlevel

Returns ERRORLEVEL 0 if target drive has requested free space,
ERRORLEVEL 1 if insufficient free space.

V1.2:  Fixed a (stupid) logic error.  I couldn't test it with big numbers
(small hard disk), and BETA tester (with big hard disk) said it worked
just fine!  Sigh ... it didn't, once the numbers got big enough.

That'll teach me to do long integer math on my fingers!  Sorry if
I wasted anyone's time with v1.1.

David Kirschbaum
Toad Hall
kirsch%maxemail@uunet.uu.net