delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/19/19:25:49

Sender: nate AT cartsys DOT com
Message-ID: <36CE00E6.D1C66EB2@cartsys.com>
Date: Fri, 19 Feb 1999 16:25:10 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Retrieving long filenames under Win95
References: <36cd278d DOT 0 AT nsuxnews>
Reply-To: djgpp AT delorie DOT com

Y.K. Goh wrote:
> 
> My computer is running Win95 and it supports long filenames.
> However when I write DOS program using DJGPP under Win95 and I
> use the findfirst and findnext function supplied by DJGPP, the
> filenames of files found are always in 8.3 DOS format with the
> numeric tail.
> 
> Is there any way to get the true long filenames?

If using v2.01, make sure you have LFN=Y set in your environment.  If
using 2.02, make sure you don't have LFN=N.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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