Jump to content

Recommended Posts

Posted (edited)

I remember when years ago and i still was fresh to this i was searching like a function like this all the time and trying to make one without much success.

I guess i was over thinking all the loops at the time, guess i got a lil smarter with the years. xD cause it's really simple.

Anyways this lists all sub-directories of a specified folder.

[Edit] Don't be silly and try to scan your entire hdd it will take ages. it's not meant for huge file structures.

Functions:

  Reveal hidden contents

_ListSubFolders

Example:

  Reveal hidden contents

UDF:

  Reveal hidden contents

Edited by Carlo84
Posted

I could just as easily use

#include <File.au3>
#include <Array.au3>
Local $Ar = _FileListToArrayRec ('D:\Mp3', "*", 2, 1, 0, 2)
_ArrayDisplay($Ar)

but, good work, i guess.

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...