Article View: comp.os.msdos.programmer
Article #7625EXE that can mimick a Device Driver
From: Taed Nelson
Date: Wed, 13 Jan 1993 00:28
Date: Wed, 13 Jan 1993 00:28
17 lines
1352 bytes
1352 bytes
I have a need to put one of my command line programs (.EXE) inside the CONFIG.SYS file for some users (it must run prior to a network device driver). As I discovered previously, one way of doing this is through the INSTALL= statement -- HOWEVER, it runs _all_ DEVICE= statements before the INSTALL= -- regardless of their placement within the file. I do not want to have two versions of my program, one as an EXE for command line, and another SYS for the device driver mode. I noticed that some EXE programs, such as SOFT-ICE (the debugger) and EMM386 (the expanded memory manager) are EXE programs, but they can be installed via the DEVICE= statement. How is this done? Does anyone know how to do this or know of any source code that does it? I will post a summary of any responses since I imagine that others would be interested in this bit of trickery. Thanks!
Technical Details
Message-ID:
<1993Jan13.002810.1298@berlioz.nsc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!gatekeeper.nsc.com!voder!berlioz.nsc.com!desktop!nelsonShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!gatekeeper.nsc.com!voder!berlioz.nsc.com!desktop!nelson From: nelson@desktop.nsc.com (Taed Nelson) Subject: EXE that can mimick a Device Driver Message-ID: <1993Jan13.002810.1298@berlioz.nsc.com> Sender: news@berlioz.nsc.com (UseNet News account) Organization: Applications Technology, National Semiconductor (Santa Clara, CA) Date: Wed, 13 Jan 1993 00:28:10 GMT Lines: 17