Newsgroups: comp.os.msdos.djgpp From: manni AT hotbot DOT com (Manni Heumann) Subject: Re: DJGPP environment variable not defined References: <7c5e3e$ee8$1 AT remarQ DOT com> <36e63faa DOT 0 AT news DOT uni-bielefeld DOT de> <7c6kt2$73b$1 AT remarQ DOT com> X-Newsreader: News Xpress 2.01 Date: Thu, 11 Mar 1999 08:50:21 GMT NNTP-Posting-Host: dhcp33-228.uni-bielefeld.de Message-ID: <36e783c1.0@news.uni-bielefeld.de> X-Trace: 11 Mar 1999 09:50:09 +0200, dhcp33-228.uni-bielefeld.de Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <7c6kt2$73b$1 AT remarQ DOT com>, "Scott A. Nelson" wrote: >Hello. I tried increasing the environment space to 1024 and 2048, but it >still did not work. I even deleted a bunch of stuff from my autoexec.bat >file, but I still get the error message saying that the DJGPP environment >varibiable is not defined. Can you think of anything else that may be >wrong? > Yes. And I should have seen it much earlier, sorry: REM Borland JBuilder c:\JBuilder\bin\setvars.bat c:\JBuilder REM DJGPP set DJGPP=C:\DJGPP\DJGPP.ENV Before setting djgpp you run a batch file: setvars.bat As strange as it seems, the part after that never gets executed. Dos just runs setvars.bat and that's that. You have to options: place set djgpp... before setvars.bat or: change c:\....setvars.bat to "call c:\..setvars.bat". That way the part of your autoexec.bat after setvars.bat will get processed. Now that MUST work. Sorry for leading you in the wrong direction in the first place. ---------------------------------------------------------------------- Manni Heumann Bielefeld, Germany Spammers use reply-address, all others use: mheumann AT post DOT uni-bielefeld DOT de ----------------------------------------------------------------------