Message-Id: <3.0.6.32.20000711013322.00800650@bom5.vsnl.net.in> X-Sender: asm12 AT bom5 DOT vsnl DOT net DOT in X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 11 Jul 2000 01:33:22 +0500 To: Prashant TR From: Abhishek Roy Subject: Re: Compiling from other directories Cc: djgpp AT delorie DOT com In-Reply-To: <200007110236.IAA01042@midpec.com> References: <39690085 DOT 2128863 AT news DOT vsnl DOT net DOT in> <39690085 DOT 2128863 AT news DOT vsnl DOT net DOT in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk >> If I try to run make on a directory other than \djgpp\bin eg. >> \allegrosource , I get a 'bad command or file name' error. I have put >> djgpp in my path and set the environment variable, and everything >> works just fine within \djgpp\bin. I thought that setting the PATH >> variable in DOS makes it search for a file in each of the named >> directories in order. Is this incorrect? > >Could you post the contents of autoexec.bat. That would clear up >things. Generally you should have the lines > >SET DJGPP=C:\DJGPP\DJGPP.ENV >PATH C:\DJGPP\BIN;%PATH% I had put SET PATH = C:\DJGPP\BIN;%PATH% instead, as I thought it was the same thing. Changed it and it works perfectly now. Thanks!