Jump to content

How to get files in a directory.


roaddog

Recommended Posts

Hai, guys.

So how can I get files from a directory. It's like checking the directory and return all the file names and its extensions.

for example I have a directory called mydir and inside mydir there are 4 files which are 1.lua, 2.lua, 3.map, and 4.xml

then I want to randomly know what files in the mydir by using function.

Thanks, I hope you understand what Im tryna say.

Peace.

Link to comment

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...