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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List all sub dirs in a directory

Status
Not open for further replies.

801119

Programmer
Apr 10, 2000
311
SE
How can I list all sub dirs in a directory wihout writing allot of code?
I know I can use findfirst and findnext which needs a lot of codes.. Is there not a simplier way?
Please post a sample code....

Thanks Martin! [sig]<p>Martin G Broman<br><a href=mailto:mgb_svea@hotmail.com>mgb_svea@hotmail.com</a><br><a href= > </a><br>DWS - Alpha Whitin Dead Wolf Society[/sig]
 
Have you looked at the DirectoryListBox?
[sig]<p>James P. Cottingham<br><a href=mailto: > </a><br><a href= Veneer Co., Inc.</a><br>All opinions are mine alone and do not necessarily reflect those of my employer.[/sig]
 
I knwo I can use DirectoryListBox!!
But I am trying to create a progam that search a specified directory (including sub dirs) for Mp3 files so that I can in a easy way keep track of the songs I have...

I can search ONE directory; but how do I search the Sub dirs??

[sig]<p>Martin G Broman<br><a href=mailto:mgb_svea@hotmail.com>mgb_svea@hotmail.com</a><br><a href= > </a><br>DWS - Alpha Whitin Dead Wolf Society[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top