Date: Tue, 11 Jul 2000 08:06:43 +0530 Message-Id: <200007110236.IAA01042@midpec.com> From: Prashant TR To: asm12 AT bom5 DOT vsnl DOT net DOT in CC: djgpp AT delorie DOT com In-reply-to: <39690085.2128863@news.vsnl.net.in> (asm12@bom5.vsnl.net.in) Subject: Re: Compiling from other directories References: <39690085 DOT 2128863 AT news DOT vsnl DOT net DOT in> 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% in autoexec.bat. -- Prashant TR Web: http://www.midpec.com/