Mail Archives: djgpp/1997/07/07/14:05:39
thsvr AT polbox DOT com wrote:
>
> Can someone tell me ( docs, faqs, sources ) how to get real name
> of the file created under w95 ( instead of XXXXX~1.XXX )?
Put "SET LFN=Y" in your environment and DJGPP programs will use the long
filename API when run under Windows 95. This will not work from a plain
DOS session, or with Windows NT. There is nothing you need to do in
your program to activate use of LFNs, as they are built into the library
code.
You can change the LFN status permanently by editing 'djgpp.env' and
changing the line that says "+LFN=N" to "+LFN=Y", or by adding "SET
LFN=Y" to your autoexec.bat.
--
---------------------------------------------------------------------
| John M. Aldrich | "Animals can be driven crazy by pla- |
| aka Fighteer I | cing too many in too small a pen. |
| mailto:fighteer AT cs DOT com | Homo sapiens is the only animal that |
| http://www.cs.com/fighteer | voluntarily does this to himself." |
---------------------------------------------------------------------
- Raw text -