| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 14 Jan 1999 09:54:17 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Jorge Ivan Meza Martinez <jimeza AT usa DOT net> |
| 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: | <Pine.SUN.3.91.990114095303.29871L-100000@is> |
| MIME-Version: | 1.0 |
| 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |