[comp.sys.ibm.pc] Catching DOS errors

sarathy@gpu.utcs.toronto.edu (Rajiv Sarathy) (09/11/88)

Is there a way to trap errors before DOS responds with "Bad command or file
     name" ?

Please email.
Thanks in advance.

-----
Disclaimer: I'm just an undergrad.
-----

sarathy@gpu.utcs.toronto.edu (Rajiv Sarathy) (09/12/88)

Let me expand on my query.

I want DOS 3.x to jump to my routine, somewhere in memory instead of printing
"Bad command or file name" to the default output device.

Perhaps there's a DOS service interrupt.  If so where can I find out about it.
If there isn't an interrupt, then how can a program watch for DOS errors, etc.

If there's anything else you need to know about this question, please email.
I would really like to find a solution.

Thanks, again, in advance.

--Raj.

>-----
>Disclaimer: I'm just an undergrad.
>-----