From: Dave Pearson Newsgroups: comp.os.msdos.djgpp Subject: Re: why won't my .exe program run properly until I set env var? Date: Thu, 29 Jan 1998 08:29:00 GMT Organization: Hagbard's World (A Private Internet Host) Sender: usenet AT hagbard DOT demon DOT co DOT uk Message-ID: References: <34CFCEC3 DOT 6C89 AT cs DOT com> Reply-To: davep AT hagbard DOT demon DOT co DOT uk Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Wed, 28 Jan 1998 19:35:15 -0500, John M. Aldrich wrote: > > 1. Start up a DOS window from windows95 > > 2. Run the batch file (which has > > set djgpp=c:\djgpp\djgpp.env > > set path=c:\djgpp\bin;%path%) > > 3. Start programming > > This is silly. If you plan to do a lot of programming in DJGPP, you > should set the environment variables in your autoexec.bat so they always > exist. I can't think of any possible reason why this wouldn't work > better. While, on the whole, I'd agree with you (DJGPP is my DOS C compiler of choice) there are times when you don't want to do it. For example, if you have more than one GNU development environment (DJGPP, GCC-Win32, GCC-Win32-prc, ...). -- Take a look in Hagbard's World: | w3ng - The WWW Norton Guide reader. http://www.acemake.com/hagbard/ | ng2html - The NG to HTML converter. http://www.hagbard.demon.co.uk/ | eg - Norton Guide reader for Linux. Free software, including........| dgscan - DGROUP scanner for Clipper.