CLEAR STRTOFILE('test', '20031010.txt') STRTOFILE('test', '20031011.txt') STRTOFILE('test', '20031012.txt') STRTOFILE('test', '20031013.txt') STRTOFILE('test', '20031014.txt') STRTOFILE('test', '20031014a.txt') lnRetVal = ADIR(laFiles, '2003????.txt') ASORT(laFiles) FOR lnI = 1 TO lnRetVal ? laFiles(lnI, 1) ENDFOR ? ? [File 20031014a should not have been selected] ERASE 20031010.txt ERASE 20031011.txt ERASE 20031012.txt ERASE 20031013.txt ERASE 20031014.txt ERASE 20031014a.txtExpected Results: filter out any file that does not match the cFileSkeleton parameter.