home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11814 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1010 b 

  1. Path: sparky!uunet!wupost!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!jmt7
  2. From: jmt7@ns1.cc.lehigh.edu (JOHN M. TROIANO)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: question on spawning DOS from C prog
  5. Message-ID: <1993Jan5.212229.57639@ns1.cc.lehigh.edu>
  6. Date: 5 Jan 93 21:22:29 GMT
  7. Organization: Lehigh University
  8. Lines: 15
  9.  
  10.  
  11.     Hi, I have written an application (using Borland C) which spawns
  12. DOS upon request by the user (using spawnl). Everything works great
  13. but I would like to display a reminder to the user with each DOS prompt
  14. so he does'nt forget he is in a spawned DOS process (similar to way
  15. Word Perfect does this). For example, after spawning DOS the user would
  16. see:
  17.  
  18.             <Type EXIT to return to program>      <--this would appear
  19.                                                      each time <RET> hit
  20.             C:\
  21.  
  22.     Is there, perhaps, a parameter to COMMAND.COM to do this?
  23.  
  24.                                                 - John
  25.