Daikenkaiking Posted May 14, 2006 Share Posted May 14, 2006 Sorry if this has been asked before, I couldent find it in search How do you list all the files a directory? Or store them in an array, that would be better. I cant figure this out, sorry if im asking something that has been repeated lots of times, just link me then Link to comment Share on other sites More sharing options...
Developers Jos Posted May 14, 2006 Developers Share Posted May 14, 2006 Sorry if this has been asked before, I couldent find it in search How do you list all the files a directory? Or store them in an array, that would be better.I cant figure this out, sorry if im asking something that has been repeated lots of times, just link me then _FileListToArray() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Daikenkaiking Posted May 14, 2006 Author Share Posted May 14, 2006 Hmm, ok ill try that Link to comment Share on other sites More sharing options...
randallc Posted May 14, 2006 Share Posted May 14, 2006 hi, or if you will need recursive, try ome of the links in that first link in my signature; Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
Daikenkaiking Posted May 14, 2006 Author Share Posted May 14, 2006 _FileListToArray() ?Im sorry, but what include do I need for this, I cant find it in the AutoIt base functions Link to comment Share on other sites More sharing options...
Developers Jos Posted May 14, 2006 Developers Share Posted May 14, 2006 Im sorry, but what include do I need for this, I cant find it in the AutoIt base functions This function is available in the Beta version of Autoit3... just look in the helpfle for the specifics.. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Daikenkaiking Posted May 14, 2006 Author Share Posted May 14, 2006 Thanks again Link to comment Share on other sites More sharing options...
BigDod Posted May 14, 2006 Share Posted May 14, 2006 (edited) You need Beta version. Here is the example from the help file #Include <File.au3> #Include <Array.au3> $FileList=_FileListToArray(@DesktopDir) If (Not IsArray($FileList)) and (@Error=1) Then MsgBox (0,"","No Files\Folders Found.") Exit EndIf _ArrayDisplay($FileList,"$FileList") Edit - Shit I type too slow Edited May 14, 2006 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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