Pauletp Posted May 16, 2008 Share Posted May 16, 2008 I have a directory tree with three levels.Can I make an array of all subfolders from the path of the top folder?I don't think it's possible to do this with a single command.Could I do it this way?1. Use the command _FileListToArray to make an array $FolderList 2. Loop through $FolderList to find folders one level down in the tree 3. Repeat 2 until there are no more folders to find4. Add all the arrays together into one big array.The total number of folders could be approx. 1000.Can AutoIt handle an array of this size?Many thanks if anybody has a tip or a simpler method.Paul Link to comment Share on other sites More sharing options...
Zedna Posted May 16, 2008 Share Posted May 16, 2008 Search forum for _FileListToArrayEx() Size of array is not problem, see appendix in helpfile about autoit limits. Resources UDF ResourcesEx UDF AutoIt Forum Search 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