Date: Sun, 17 Jan 1999 12:16:09 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jorge Ivan Meza Martinez 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: 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: > 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.