home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / misc / 6630 < prev    next >
Encoding:
Text File  |  1992-12-21  |  906 b   |  24 lines

  1. Newsgroups: comp.os.msdos.misc
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!fburton
  3. From: fburton@nyx.cs.du.edu (Francis Burton)
  4. Subject: How to prevent shelling out?
  5. Message-ID: <1992Dec18.152918.6805@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
  8. Date: Fri, 18 Dec 92 15:29:18 GMT
  9. Lines: 13
  10.  
  11. I have a program which I would like to run as a module in a
  12. self-instruction class.  This particular program allows shelling
  13. out to DOS by running a second instance of COMMAND.COM (I think).
  14. Although most students would not abuse this facility, I would feel
  15. safer if it was not possible to do this.
  16.  
  17. Does anyone have any ideas how this could be achieved?
  18.  
  19. Setting COMSPEC to something other than COMMAND.COM stops shelling,
  20. but it also hangs the system when the program quits!
  21.  
  22. Thanks in advance,
  23.   Francis Burton
  24.