Mail Archives: djgpp/1997/07/09/23:17:49
Erik Max Francis <max AT alcyone DOT com> wrote in article
<33BF711E DOT 2D823403 AT alcyone DOT com>...
> Todd Smith wrote:
>
> > every time I restart my computer and type "set" in the ms-dos window my
> > two djgpp lines have disappeared.
> >
> > set DJGPP=C:\DJGPP\DJGPP.ENV
> > set PATH=C:\DJGPP\BIN;%PATH%
> >
> > it says to put them in the autoexec.bat file but I just type them at
the
> > dos prompt, am i doing it wrong?
>
> Without specific data, it's hard to say, but best guess is that there's
> something in your autoexec.bat that is halting the execution before it
> gets to the lines you've added. A common occurrence is when calls to
> other batch files are included in autoexec.bat; DOS is too stupid to know
> it's wiser to spawn (e.g., keep executing the original batch file when
> you're finished) than not.
Just a note:
If you are calling other batch files from Autoexec.bat, use the syntax:
call batchfile.bat
This way autoexec won't stop executing after the second batch file
completes.
- Raw text -