Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!ncar!asuvax!hrc!bladder!wagnere From: wagnere@bladder.UUCP (Eric Wagner) Newsgroups: comp.sys.ibm.pc Subject: Re: How can I poll a drive? Summary: Also, what about telling when the door is closed? Message-ID: <45855611.15768@bladder.UUCP> Date: 8 Sep 89 20:12:54 GMT References: <342@castle.ed.ac.uk> Organization: gte Lines: 17 In article <342@castle.ed.ac.uk>, erck12@castle.ed.ac.uk (Gnome) writes: > > Here is one for the hackers among you! I want to poll a given (i.e. > not necasarily physical) drive, given a drive letter supplied by the user. I > want to find out if it is present, and functional without generating any DOS > "retry, abort or ..." or "insert diskette for drive X" type messages. I am > working in MSC 5.1. How would I go about it? Also, how would one go about detecting when the drive door has been closed, like FASTBAK does? -- ----------------------------- Eric Wagner (wagnere@gtephx) AGCS (formerly GTE), Phoenix (602) 582-7150 UUCP: {ncar!noao!asuvax | uunet!hrc | att}!gtephx!wagnere