m0nk3yI3unz Posted May 4, 2008 Share Posted May 4, 2008 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 More sharing options...
monoceres Posted May 4, 2008 Share Posted May 4, 2008 (edited) Use the _FileListToArray function declared in File.au3, I use it all the time Edited May 4, 2008 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
m0nk3yI3unz Posted May 4, 2008 Author Share Posted May 4, 2008 oh... wow... how, again, did I miss that??O.o Thanks heaps! ^^ Monkeh. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now