From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: #include problems under DOS Date: Wed, 28 Apr 1999 18:20:20 -0300 Organization: BrunNet Lines: 36 Message-ID: <37277B94.7CCA9FA7@unb.ca> References: <7g2p8i$j1v AT dfw-ixnews3 DOT ix DOT netcom DOT com> <37252C51 DOT 6D8D4046 AT unb DOT ca> <7g3i75$ffr AT dfw-ixnews10 DOT ix DOT netcom DOT com> <3725F101 DOT 9CD62B2B AT unb DOT ca> <7g7orj$p7g AT sjx-ixn6 DOT ix DOT netcom DOT com> NNTP-Posting-Host: ftnts2c42.brunnet.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ofer Nave wrote: > Okay, reinstalled everything under pure dos, set lfn=n, no problem. > > I'm still having a problem with absolute paths, though. The following > works: > > #include "file.ext" > #include "/file.ext" > #include "../dir/file.ext" > > But the minute I add a subdirectory to an absolute path: > > #include "/dir/file.ext" > > It doesn't find the file. That's odd, I tried it on my machine and "/dir/file.ext" works fine. Maybe you should try adding the drive letter to the pathname#include "C:/dir/file.ext" Also, I don't mean to insult your inteligence, but are you actually running in a directory who's parent is root? > Also, is there a file somewhere in which I can list a dozen or so include > directories to look in, and avoid supplying paths in the source code > altogether? Options->Directories->Include-- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT BrunNet DOT Net Endlisnis AT HotMail DOT com ICQ: 32959047