limit to number of files handled by adir?



mfiles = ADIR(inbarray,'c:\processedold\cc*.tsv')

give me the error 'invalid subscript reference' when typed in at the command prompt.

mfiles = ADIR(inbarray,'c:\*.xml') works fine

There are probably 55,000 files that meet the first criteria but only 2 that meet the second. Could this be why it's failing?
.


Loading