Mail Archives: djgpp/1998/07/05/21:30:52
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
- Raw text -