Pass the initial directory to FindFirst and compare the results against the faDirectory Attribute and then do a loop with FindNext, again testing each result against faDirectory. Look in the online help for these two calls to get an idea and an example.
You can do this without a lot of programming by using the DirectoryListbox component on the W3.1 tab
Set the root dir you require and read the items from the items list.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.