[comp.sys.ibm.pc] shelling to Dos

salter@magnus.ircc.ohio-state.edu (John E Salter) (12/24/90)

How does one prevent an application from shelling to DOS?
Particuarly applications running on a novell network
which is started from a menu system.  Thank you.

silver@xrtll.uucp (Hi Ho Silver) (12/25/90)

In article <1990Dec24.012958.9228@magnus.ircc.ohio-state.edu> salter@magnus.ircc.ohio-state.edu (John E Salter) writes:
$How does one prevent an application from shelling to DOS?

   Well, before invoking it, you could set the COMSPEC environment variable
to point to a program which simply returns, and reset it afterwards.  There
may well be other ways ...
-- 
 __            __  _  | ...!nexus.yorku.edu!xrtll!silver |  always
(__  | | |  | |_  |_) >----------------------------------< searching
 __) | |_ \/  |__ | \ | if you don't like my posts, type |    for
_____________________/  find / -print|xargs cat|compress |   SNTF