Adir() function places information about files into an array and returns the number of files.(can be folders if D flag added)
For each file, ADIR( ) places into the array the file name, size, date last modified, time last modified, and attributes.
it works as expected on ANSI but
never on unicode .
if you have unicode folders or unicode filenames they are replaced by ??? characters. ex: ?????????.txt
of course these folders or files are not reconized by VFP !
if issue "modi file < this_unicode.txt >" vfp returns: this file dont exist !
great problem but simply because vfp is not unicode language !