delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/09/23:17:49

From: "Gil Myers" <gmeyers AT logan DOT net>
Subject: Re: help me
Newsgroups: comp.os.msdos.djgpp
References: <33BEE77E DOT 4A73 AT mindspring DOT com> <33BF711E DOT 2D823403 AT alcyone DOT com>
Organization: The Unknown Programmers
Message-ID: <01bc8c17$4eee2e60$c88033cf@pentium>
NNTP-Posting-Host: 207.51.128.200
Date: 9 Jul 97 03:13:01 GMT
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019