Date: Tue, 27 Oct 1998 20:52:04 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Listing long filenames In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 26 Oct 1998 Koen_Van_Herck AT xircom DOT com wrote: > How can I list long filenames in a program ? Set LFN=y in the environment, and all DJGPP library functions will support long file names on Windows 9X. You can then use, e.g., findfirst and findnext to list the file names. > Or otherwise, if I have a FILE *, how can I get the long filename for this > file ? AFAIK, there is no way to do this on DOS/Windows. Actually, I think Unix doesn't have such service either.