Date: Thu, 4 Nov 1999 19:08:41 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jeff Williams cc: djgpp AT delorie DOT com Subject: Re: long filenames and Windows NT In-Reply-To: <199911041503.JAA16544@darwin.sfbr.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 4 Nov 1999, Jeff Williams wrote: > OK, this is just a first impression, but I d/l'ed Crabtree's sources > and took a look, and it seems that the approach he takes would also > work for an LFN driver for plain DOS. There is a big difference between doing it on DOS and on NT: NT already supports long file names for native Win32 programs, while DOS does not. So, for NT, Andrew Crabtree needed only to find a way of converting long names to the corresponding short ones, but otherwise he used the NT filesystem to do the real work. In contrast, to produce the same on MS-DOS, you will need to bypass DOS entirely, and roll your own code that reads/writes the disk on the sector level, because the LFN driver needs to read and write the special LFN entries in a directory, and DOS won't let you access a directory as a normal file.