Date: Thu, 14 Jan 1999 09:54:17 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jorge Ivan Meza Martinez cc: djgpp AT delorie DOT com, hoskinst AT cadvision DOT com Subject: RE: LFN in Win95? How do I do it? In-Reply-To: <003a01be3f7b$89a0d9e0$0ca531ce@fresita-one> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Thu, 14 Jan 1999, Jorge Ivan Meza Martinez wrote: > while ( _dos_findnext(&ffblk) == 0 ) > { > printf("8.3 NAME = %s\n", ffblk.name); > printf ( "LFN NAME = %s\n", _truename(ffblk.name, NULL) ); Did you actually try this? I think it will only work correctly if your current directory is the same as the one listed by _dos_findfirst/next, because ffblk.name doesn't include the full path name, only the file name part.