Message-ID: <34C52029.2DFF3BF2@gmx.net> Date: Tue, 20 Jan 1998 23:07:37 +0100 From: Robert Hoehne Organization: none provided MIME-Version: 1.0 To: "Gary R. Sekinger" CC: DJGPP Mailing list Subject: Re: case of filenames question References: <6a30hn$5e1$1 AT news4 DOT ispnews DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Gary R. Sekinger wrote : > > I cannot seem to figure out how to read the lfn filenames. I used opendir() > and readdir(), but the seem to only return lower case versions of the file > names. In the following example, the file "ME" should be uppercase. "ls" > seems to do this as well: For this you should use the variable FNCASE. Normally the DJGPP libc functions convert all filenames, which have the same case for each charcacter to lower case. But there are some very few situations, where someone needs the exact case of the filenames. In such a situation set FNCASE to y SET FNCASE=y and the libc functions return the filenames exactly as they are found. Robert -- ****************************************************** * email: Robert Hoehne * * Post: Am Berg 3, D-09573 Dittmannsdorf, Germany * * WWW: http://www.tu-chemnitz.de/~sho/rho * ******************************************************