Hi all,
I know this is prob. pretty easy but how do i get a list of sub directories within a directory?
i.e i have a directoy sctructure like so:
~/users
~/users/gavin
~/users/mark
~/users/dave
i want to scan thru the ~/users dir and create get the names of all the sub dirs to store in an array?
thanks alot
I know this is prob. pretty easy but how do i get a list of sub directories within a directory?
i.e i have a directoy sctructure like so:
~/users
~/users/gavin
~/users/mark
~/users/dave
i want to scan thru the ~/users dir and create get the names of all the sub dirs to store in an array?
thanks alot