>This will work, but is there anyway to get only the directories and not the files?
>
>Thanks,
>
Jerry,
In order to get the directories (which will include "." and "..") you need to set the target directory to be the current using SET DEFAULT TO...
Then you need to pass an empty string as the file skeleton and the "D" attribute.
IMO, using the Windows Script Host's Scripting.FileSystemObject is a much cleaner method.
George
Ubi caritas et amor, deus ibi est