>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)