Help with Dos write protect error
brian lee ashworth
ashworth at handel.cs.colostate.edu
Thu Mar 21 05:53:23 AEST 1991
I am using MSC 5.1 and am trying to find a high level dos or possibly bios
call to determine the status of the disk drive. In particular I am trying
to detect what the status of the write protect tab is. My problem stems
from the fact that I get a write protect error Abort, Retry, Ignore? message
when I try to write to a file using fopen and fprintf. I would like to
detect the status before I write to the file so that dos doesn't have a
chance to display it's error. I have looked in many books and dos manuals
for bios calls with no luck.
thanks in advance!
-------------------------------------------------------------------------------
| Brian Ashworth CS major trying to just make it through |
| E-mail address ashworth at handel.colostate.edu |
-------------------------------------------------------------------------------
More information about the Comp.lang.c
mailing list