Xref: news2.mv.net comp.os.msdos.djgpp:3414 From: fmarcos AT jet DOT es (Fernando Marcos) Newsgroups: comp.os.msdos.djgpp Subject: Long Filenames in DOS Date: Fri, 03 May 1996 10:05:32 GMT Organization: Servicio IBERNET (Telefonica Transmision de Datos) Lines: 19 Message-ID: <4mclgm$dsh@minerva.ibernet.es> NNTP-Posting-Host: info103.jet.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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!! Fernando Marcos.