[DOS] How can I intercept "Insert disk in drive x: and press any key to continue"?
On a single floppy drive system, A: and B: both point to the same physical floppy drive. So, for example, when the current drive is A: and you change to drive B:, DOS will print "Insert a disk in drive B: and press any key to continue" (or something along those lines). And vice versa of course (from B: to A.
The problem is that this happens not only when you're changing drives on the command line but also in programs. I'm doing some improvements to XTIDECFG and I can't find a way to handle this in code - unless I filter out drive B: on single floppy drive systems but that feels like a hack and I would like to avoid that if possible - so having DOS print this message in the background really effs things up.
Is there a (simple) way to intercept this? I can't imagine I'm the first one to want to do something like this...
On a single floppy drive system, A: and B: both point to the same physical floppy drive. So, for example, when the current drive is A: and you change to drive B:, DOS will print "Insert a disk in drive B: and press any key to continue" (or something along those lines). And vice versa of course (from B: to A.
The problem is that this happens not only when you're changing drives on the command line but also in programs. I'm doing some improvements to XTIDECFG and I can't find a way to handle this in code - unless I filter out drive B: on single floppy drive systems but that feels like a hack and I would like to avoid that if possible - so having DOS print this message in the background really effs things up.
Is there a (simple) way to intercept this? I can't imagine I'm the first one to want to do something like this...