You get only the NAME of the directory, which you then have to recurse ("curse again") to get all levels.
>I have a directory with many sub directories and wilsh to pull al list of the ".pdf" files within these directories.
>
>The documentation for the adir() function leads me to believe I can get this and have the array show the directory name with the file name.
>
>The documentation states you can ask for sub directoies but give no clue as to how.
>
>Is this part of the file skeleton or is this part of the attributes?
>
>any help will be appreciated.
>
>
>Thanks in advance!
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)