>Is their a way that I can scan through and set paths to individual subdirectories on my hard drive. I have about 30 individual sets of data in subdirectories that i need to import and am looking for a way to scan through them individually and import each one of them one at a time.
>
>Thanks
>Darren In Atlanta
Hi Darren,
Just to add one note to what Ed said. In order to properly retrieve all the child directories, you must use SET DEFAULT to the directory, otherwise they won't be properly returned. If "C:\Mydir\*." any directories having an extension won't be returned. So you'd have to use:
lccurrentdir = SYS(5) + CURDIR()
SET DEFAULT TO C:\Mydir
= ADIR(a_dir, "", 'D')
SET DEFAULT TO (lccurrentdir)
in order to get all the directories.
George
Ubi caritas et amor, deus ibi est