read directory

bazp

Member
Licensed User
Longtime User
I have several graphic files on a local directory. i would like to read the directory and put the names into an array. I then could randomly access the names in the array and retrieve them. Is there a simple way to do this?

I can't think of directly accessing the files because the name vary from 5 to 25 characters long and there is no order to them

thanks for the help.
 
Top