Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i have all subfolders from a folder ?
Message
From
09/01/2003 07:10:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/01/2003 06:17:24
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00739719
Message ID:
00739731
Views:
28
>how can i have all subfolders from a folder ?
>exemple from program files folder i want to have all subforlder in it.

You can use a recursive function to get all folders (and files too, if you happen to need it). I think you can easily adapt the examples from my article at http://www.levelextreme.com/Magazine/January2003/Page51.asp. Please ask back if you need further help.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform