Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!ucbvax!UUNET.UU.NET!kirsch%maxemail From: kirsch%maxemail@UUNET.UU.NET (David Kirschbaum) Newsgroups: comp.binaries.ibm.pc.d Subject: TOADFR12.ZIP - Return disk free space as errorlevel Summary: Reposted by Keith Petersen Message-ID: <9104280536.AA07990@tacom-emh1.army.mil> Date: 28 Apr 91 05:36:02 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 18 I have uploaded to SIMTEL20: pd1: 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