Buffo Posted September 23, 2005 Share Posted September 23, 2005 Hello guys,although I used the search function, I don't get an answer. I hope you can help but I think so The problem to solve is already explained in the title.There is a folder with some subfolders and files. I only want to read the (sub)folders, so I use this syntax:#Include <File.au3>......$folders = _FileListToArray("F:\Pics", 2) _ArrayDisplay($folders, "Test")......I never get an output. The same situation is if I try$folders = _FileListToArray("F:\Pics", 0)to show all files and folders: nothing happens.Only if I use without parameters$folders = _FileListToArray("F:\Pics") all items are shown.What went wrong. Didn't I understand this function and it's my fault or is this a bug?My AutoIt Version is toggled between last official release and last beta. It won't work in both versions for me. I don't think that's intersesting, but perhaps: My OS WinXPPro SP2.I hope that someone can help me Muchas gracias!Cu,Buffo Link to comment Share on other sites More sharing options...
Valuater Posted September 23, 2005 Share Posted September 23, 2005 looks to me like a bug i tested the help script and added the "flag" like you and Yepper.... same problem 8) Link to comment Share on other sites More sharing options...
Developers Jos Posted September 23, 2005 Developers Share Posted September 23, 2005 Known issue see BUG report .... 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...
Buffo Posted September 24, 2005 Author Share Posted September 24, 2005 Thx for your answers Ok, then I'll try something other. I need all users of my PC, so I wanted to list the dir of %ALLUSERSPROFILE% in an array. Then I'll do it per DOS-Command, save a temp file and read this out. Cu, Buffo PS: If I search for "FileListToArray", no topics are shown. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 24, 2005 Developers Share Posted September 24, 2005 Thx for your answers PS: If I search for "FileListToArray", no topics are shown. Works fine in latest BETA.... 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...
Buffo Posted September 24, 2005 Author Share Posted September 24, 2005 @JdeB: Thx for Info.Just new Beta .76 installed but for me it still isn't working.By the way: The installers in http://www.autoitscript.com/autoit3/files/beta/autoit/ are marked with "beta" in filename, the zips not. Is this wanted? I always rename the files manually after download to mark them as not stable, so I don't get confused.Cu,Buffo Link to comment Share on other sites More sharing options...
Buffo Posted September 25, 2005 Author Share Posted September 25, 2005 Stop Certainly it works. My fault I forgot the filter-param at the second place, so I set the 2 for showing only directories as filter. Pretty good work... Cu Buffo 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