Checking file sizes in DOS?

JaiKnight

Senior member
Feb 6, 2000
958
0
0
Hello,

I'm making a batch utility to copy over files to a floppy for things like a boot disk. I'm wondering if there is some way to check to see if there is enough space on the destination disk before starting the write. If there isn't then give an error saying the disk needs to be formatted or something first, needs to be done with normal DOS commands that can be executed in a .BAT file. Thanks!