locutus243 Posted June 21, 2008 Share Posted June 21, 2008 Hiya guys, I've tried searching this but its coming up with nothing. I have a folder, that contains a selection of other folders. I was wondering if there was any way of counting how many folders were in a directory, and then getting a list of the names of those folders? Any help greatly appreciated Thanks Mark Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 21, 2008 Moderators Share Posted June 21, 2008 Hiya guys, I've tried searching this but its coming up with nothing. I have a folder, that contains a selection of other folders. I was wondering if there was any way of counting how many folders were in a directory, and then getting a list of the names of those folders?Any help greatly appreciatedThanksMarkHelpfile: _FileListToArray + 2nd paramForum: Search for _FileListToArrayEx, _FileListToArrayNew Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
monoceres Posted June 21, 2008 Share Posted June 21, 2008 Hi! #include <File.au3> #include <Array.au3> $folders=_FileListToArray(@ScriptDir,"*",2) _ArrayDisplay($folders) Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
locutus243 Posted June 21, 2008 Author Share Posted June 21, 2008 Helpfile: _FileListToArray + 2nd paramForum: Search for _FileListToArrayEx, _FileListToArrayNewMuch appreciated Smoke....and quicker than ever!! Can't believe I didn't see that one...its been a long day!CheersMark 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