garyb@pro-graphics.cts.com (Gary Botnovcan) (07/26/90)
In-Reply-To: message from sos@psc90.UUCP
        Programs that "shell to DOS" often use COMSPEC to find the command
interpreter.  They'll load whatever file is at that full pathname.
        4DOS seems to work perfectly well with COMMAND.COM loaded as a
secondary shell.  Of course, you won't get any of the 4DOS enhancements while
running COMMAND.COM, but if you can do without them, go right ahead.
        Just make sure that you set COMSPEC to the full pathname+filename.
        Of course, those programs that explicitly load COMMAND.COM don't load
4DOS, even if you want them to, unless you hack them (search for the string
COMMAND.COM and replace it with 4DOS.COM, being very careful to match format
with the original.
  908/469-0049  Pro-Graphics BBS - It's better than a sharp stick in the eye!
    UUCP: ...crash!pro-graphics!garyb
ARPA/DDN: pro-graphics!garyb@nosc.mil
Internet: garyb@pro-graphics.cts.comdjb@wjh12.harvard.edu (David J. Birnbaum) (07/26/90)
In article <3683@crash.cts.com> garyb@pro-graphics.cts.com (Gary Botnovcan) writes: >In-Reply-To: message from sos@psc90.UUCP > >Of course, those programs that explicitly load COMMAND.COM don't load >4DOS, even if you want them to, unless you hack them (search for the string >COMMAND.COM and replace it with 4DOS.COM, being very careful to match format >with the original. You can rename 4dos.com to 'command.com' to trick programs that blindly load command.com instead of checking comspec. If you have a real command.com on your disk, be sure that the renamed 4dos.com precedes it in your path. A nuisance, but easier than hacking each application. --David ============================================================ David J. Birnbaum djb@wjh12.harvard.edu [Internet] djb@harvunxw.bitnet [Bitnet] ============================================================