Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR() to find the directories
Message
From
14/03/2002 13:04:57
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632608
Message ID:
00632870
Views:
20
You should be careful using this approach, as directories can have a period in them (e.g. "C:\Data.tmp\"). Also, this will pick up files that don't have an extension.

>Hi Petros,
>
>> =ADIR(DIRARRAY,M.MYPATH+'\*','D')
>>The problem is that I am getting the filenames also (not only the sub directories)
>
>Try this:
>
>
>=ADIR(aDirs, '\temp\*.', 'D')
>
>
>Armin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform