Jump to content
Sign in to follow this  

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.




Share this post

Link to post
Share on other sites

Use the _FileListToArray function declared in File.au3, I use it all the time :)

Edited by monoceres

Broken link? PM me and I'll send you the file!

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...