Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!timbuk!hemlock!dp From: dp@hemlock.cray.com (David Polansky) Newsgroups: comp.os.msdos.programmer Subject: insert diskette in drive B Keywords: diskette, drive Message-ID: <090905.3866@timbuk.cray.com> Date: 14 Feb 91 15:59:20 GMT Sender: dp@cray.com (David Polansky) Organization: Cray Research, Inc., Eagan, MN Lines: 10 I am writing an application which will be reading from diskettes quite frequently. On systems which have only one diskette drive I don't want the message requeting that the user insert the diskette in drive B (or A) and then push any key to continue to mess up my display. Is there any way to intercept this message. If not I know how to detect that there is only one diskette drive. Is there some way to determine whether it is considered drive A or drive B at the time the program starts? (The optimal solution is to trap the message and deal with it from there.) Thanks for any help. David Polansky (dp@cray.com)