Mail Archives: djgpp/1996/05/04/04:08:46
Fernando Marcos (fmarcos AT jet DOT es) wrote:
: I have found a reference to the API required to use long filename
: entries (up to 260 characters) in DOS window running in Windows 95
: (and hope so on Windows NT).
: The complete article with source code is available on the August 94
: issue of Microsoft Systems Journal (Nș 8), with the title "LONGNAME:
: Makes Long FIlenames Accessible to 16-bit Programs".
: Due to copyright, I cannot place the contents of the article here, but
: I'm willing to rewrite it so it becomes "public domain" if anyone is
: interested. The code basically rewrites some of the commonly used
: functions to access files and directories (fopen, findfirst, etc) and
: uses de underconvered API to access the long filenames stored on disk.
: Hope DJGPP uses it some day!!
Well, it does, but it is (kind of) disabled in the development environment
due to problems with truncated filenames in the source code.
To make long filenames available, just set LFN=y
BTW. any word if this will also be in NT4.0? I think it isn't in 3.51.
bye, Alexander
--
Alexander Lehmann, | "On the Internet,
alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows
alexlehm AT rbg DOT informatik DOT th-darmstadt DOT de (plain) | you're a dog."
<URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
- Raw text -