Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seacr a directory

Status
Not open for further replies.

ac11nyc

Programmer
Oct 1, 2003
94
US
Does anyone know how to search a directory for a count of folders and to get each folder name inside the directory??

any help would be greatly appreciated
Thanks
alex
 
In the System.IO namespace lives the Directory class. It has a static/shared method called GetDirectories, which returns an array of strings, which are the names of the subdirectories.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top