www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/17/05:17:34

Date: Sun, 17 Jan 1999 12:16:09 +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
Subject: RE: LFN in Win95? How do I do it?
In-Reply-To: <000001be4056$488e4100$11a531ce@fresita-one>
Message-ID: <Pine.SUN.3.91.990117121513.278P-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 14 Jan 1999, Jorge Ivan Meza Martinez wrote:

> The solution is to append the path to the filename before call _truename.

IMHO, a far better solution is to use findfirst/findnext instead of
_dos_findfirst/_dos_findnext, because the former return the long file
names directly.

> But for an unknown reason ( to me ), you have to write the parameter
> between quots or it doesn't work, it must be something like dire
> "c:\windows\command\*.*", writting it without \" it only takes the
> first file.

DJGPP programs expand the wildcards by default.  See sections 16.1 and
16.2 of the FAQ.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019