Jump to content

Best way to Enum Files?


Recommended Posts

Hey all. Long time no see!!

Well Im working on a sort of server, and I need it to enumerate the files in a certain directory relative to the script path and put it in an array. What is the best way to do this? I've tried outputting a DIR call to a file, reading the file, then deleting said file, but it just doesn't seem to work. Plus, Im sure there is an easier way, maybe with filefindfirstfile or something... Not sure how to go about this.

Any help would be appreciated greatly.

Thanks!

-Monkey

Monkeh.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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