Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!sundc!nears!occrsh!occrsh.UUCP!gorgo.UUCP!authorplaceholder From: ddrex@gorgo.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Trapping DOS error message Message-ID: <58200015@gorgo.UUCP> Date: Tue, 13-Jan-87 03:11:00 EST Article-I.D.: gorgo.58200015 Posted: Tue Jan 13 03:11:00 1987 Date-Received: Wed, 14-Jan-87 23:20:32 EST References: <243@vax1.ccs.cornell.edu> Lines: 30 Nf-ID: #R:vax1.ccs.cornell.edu:-24300:gorgo.UUCP:58200015:000:984 Nf-From: gorgo.UUCP!ddrex Jan 13 02:11:00 1987 /* Written 11:00 am Jan 9, 1987 by jsm@vax1.UUCP in gorgo.UUCP:comp.sy.ibm.pc */ /* ---------- "Trapping DOS error message" ---------- */ I need a way to trap the error message "Insert diskette for drive A: and strike any key when ready" that appears on single floppy-drive machines. Any suggestions? Jon Meltzer Dept. of Modern Languages and Linguistics Cornell University D /* End of text from gorgo.UUCP:comp.sy.ibm.pc */ (I would send you mail, but pathalias doesn't seem to know about 'vax1') Your question is not clear. If your problem is that some software you run expects to find certain files on the floppy drive, while those files are actually on the harddisk, you can "fake it out" using the dos 'assign' command: assign a=c This command makes the A: drive logically become the C: drive; dos will no longer know about the physical drive A: The PC version of 'hack' is one of those that wants all its files on floppy; using 'assign' makes for much less hassle.