Jump to content

Recommended Posts

Posted

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.

Posted (edited)

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!

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