[comp.binaries.ibm.pc.d] solution to the passing of aliases to secondary shells in 4dos

mdlawler@bsu-cs.bsu.edu (Michael D. Lawler) (03/23/90)

The solution to the problem of 4dos not passing the aliases to secondary
shells when /s:n is used for mode is to put this line in 4start.bat

if "%_shell" == 99 alias/r aliases

I learned this from Tom Lawson of J.P. Software.  This problem was
created when the aliases were taken out of the environment and there
is no way around it.  Also the problem of 4dos not letting you redirect
to the nul device with share.exe loaded will be fixed in the maintainence release.  It is caused by a bug in share and some users have told J.P.
software that if share is installed automatically rather than by an install command in config.sys that the problem disappears.
-- 
Mike Lawler         UUCP:  <backbones>!{iuvax,pur-ee}!bsu-cs!mdlawler
                    ARPA:  mdlawler@bsu-cs.bsu.edu

LC.YRS@forsythe.stanford.edu (Richard Stanton) (03/23/90)

In article <10964@bsu-cs.bsu.edu>,
mdlawler@bsu-cs.bsu.edu (Michael D. Lawler) writes:
>
>The solution to the problem of 4dos not passing the aliases to secondary
>shells when /s:n is used for mode is to put this line in 4start.bat
>
>if "%_shell" == 99 alias/r aliases
>
This is very helpful, and works fine, except that you need to put
quotes around the 99 as well.

Richard Stanton