Mail Archives: djgpp/1998/01/20/17:09:52
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 <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -