Home

TESTMBRC


TESTMBRC is a 'compact' version of TESTMBR.

TESTMBRC :     4 KB
TESTMBR   :   42 KB

It is intended for use, together with other programs, by a batch file on a floppy disk.  4 KB is only about 1% of a 360 KB boot floppy.

It runs the same tests of the first sector that TESTMBR does.

There is no screen output.

What is output is a 'DOS error level' (i.e. something that a batch file can use to detect success/failure of TESTMBRC).
DOS error level of 0 = Success
DOS error level of 1 = Failure

Like TESTMBR, if the tests are successful, TESTMBRC will restore the first sector to how it found it (whatever that was, blank or otherwise).


Hard drive 0 versus hard drive 1

By default, TESTMBRC targets hard drive 0 (normally appears as logical drive C:).
To target hard drive 1 instead, execute TESTMBRC with the HD1 switch, as shown below.

testmbrc /hd1


Download

Click here for TESTMBRC.