Contents of the MEGSFREE.DOC file
MegsFree.COM sets DOS errorlevel to one for each mb of free
disk space on the current, or specified drive: i.e., MegsFree D:.
If E: had 7,999,999 bytes free, MegsFree E: would return 7.
If F: had 999,999 bytes free, MegsFree F: would return 0.
Maximum is 255 for 255 mb free or greater.
MegsFree is taken from PC Magazine, Jan. 28, 1992, page 288.
A small DEBUG script file, and documentation are shown there.