>>For ages people have been complaining about short filenames & can they have long ones - so MS give us long filenames that accept either case, it does not seem too much to expect that the filename as stored on the system is returned by a routine in the latest version of one of their own tools.
>
>This is just a guess, but when was ADIR() introduced into the language? If it was Fox 2.x, than Windows 95, long file names and mixed case names weren't around. That could be why ADIR() just returns uppercase: when it was created it wasn't an isssue, and nobody bothered to change it.
>
Bill,
It was introduced in FoxPro 2.0. As I mentioned elsewhere in this thread, returning all upper case does make some tasks easier (like using ASORT() and ASCAN()).
George
Ubi caritas et amor, deus ibi est