This is what you are looking for
Bob Lee
ADIR(ArrayName [, cFileSkeleton [, cAttribute]])
>Hi all,
>
>How can I get a list of all files from a specific directory and save the names in an array? I can't find any helpful command from MSDN, some hints would be more than enough. Thanks a lot!!
In the beginning, there was a command prompt, and all was well.