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