home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 12032 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!psinntp!gatekeeper.nsc.com!voder!berlioz.nsc.com!desktop!nelson
  3. From: nelson@desktop.nsc.com (Taed Nelson)
  4. Subject: EXE that can mimick a Device Driver
  5. Message-ID: <1993Jan13.002810.1298@berlioz.nsc.com>
  6. Sender: news@berlioz.nsc.com (UseNet News account)
  7. Organization: Applications Technology, National Semiconductor (Santa Clara, CA)
  8. Date: Wed, 13 Jan 1993 00:28:10 GMT
  9. Lines: 17
  10.  
  11. I have a need to put one of my command line programs (.EXE) inside the
  12.   CONFIG.SYS file for some users (it must run prior to a network device
  13.   driver).  As I discovered previously, one way of doing this is through the
  14.   INSTALL= statement -- HOWEVER, it runs _all_ DEVICE= statements before the
  15.   INSTALL= -- regardless of their placement within the file.
  16.  
  17. I do not want to have two versions of my program, one as an EXE for command
  18.   line, and another SYS for the device driver mode.
  19.  
  20. I noticed that some EXE programs, such as SOFT-ICE (the debugger) and EMM386
  21.   (the expanded memory manager) are EXE programs, but they can be installed
  22.   via the DEVICE= statement.  How is this done?
  23.  
  24. Does anyone know how to do this or know of any source code that does it?
  25.  
  26. I will post a summary of any responses since I imagine that others would be
  27.   interested in this bit of trickery.  Thanks!
  28.