Message-Id: <199807060130.CAA09445@sable.ox.ac.uk> Comments: Authenticated sender is From: George Foot To: Endlisnis Date: Mon, 6 Jul 1998 02:24:53 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Long Filenames - can they always be on? Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk CC: djgpp AT delorie DOT com Precedence: bulk On 5 Jul 98 at 20:40, Endlisnis wrote: > Matthew Conte wrote: > > > My program will recognize LFN's if LFN=y in the environment, but is there > > any way to make it *always* recognize LFN's (unless the OS doesn't support > > it) without having that environment variable set? In other words, can it be > > handled at compile-time rather than run-time? > > How does one access LFN's at all? Is it an interrupt call? DJGPP functions will use LFNs if possible. You have to be running on a Windows 95 machine, in a DOS shell from the GUI, for this to work, and (as I said in my other reply) you must not have an environment variable `LFN' set to `n'. The default djgpp configuration automatically sets `LFN' to `n' unless you set it otherwise, so put "set lfn=y" in your `autoexec.bat' file. When you've done that, djgpp's library functions should be able to see the long filenames. -- george DOT foot AT merton DOT oxford DOT ac DOT uk