Hi All,
Perhaps this is somehing simple to do, however i can't seem to work it out ;-D
I want a script to enumerate sub folders to a depth of 2.
Plenty of scripts on the net which enumerate all sub-folders, however I don't want to enumerate all subfolders.
Eg:
Is there some sort of index/count property..? Worst case I think i'll have to enumerate everything, store it in an array and count the slashes to determine path depth.. just thought there might be a more elegant solution?
Any help/suggestions/reading appreciated.
Cheers.
Perhaps this is somehing simple to do, however i can't seem to work it out ;-D
I want a script to enumerate sub folders to a depth of 2.
Plenty of scripts on the net which enumerate all sub-folders, however I don't want to enumerate all subfolders.
Eg:
Is there some sort of index/count property..? Worst case I think i'll have to enumerate everything, store it in an array and count the slashes to determine path depth.. just thought there might be a more elegant solution?
Any help/suggestions/reading appreciated.
Cheers.