delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/04/04:08:46

Xref: news2.mv.net comp.os.msdos.djgpp:3420
From: alexlehm AT rbg DOT informatik DOT th-darmstadt DOT de (Alexander Lehmann)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Long Filenames in DOS
Date: 3 May 1996 13:55:56 GMT
Organization: Technische Hochschule Darmstadt
Lines: 31
Message-ID: <4md39c$108m@rs18.hrz.th-darmstadt.de>
References: <4mclgm$dsh AT minerva DOT ibernet DOT es>
NNTP-Posting-Host: hp62.rbg.informatik.th-darmstadt.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019