Jump to content

Loop through folder


Drakath

Recommended Posts

Posted

Is there a way to loop through a folder to see its files? Let's say I have a bunch of images in a folder and I want to get the name of each image.

Posted

Method 1 (which i recommend) would be to put all of the file names into a table, and loop the table to check if the file exists.

Another method (not sure if it would work) would be to use scanDir in the FileSystem module.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...