Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR() to find the directories
Message
 
To
14/03/2002 07:12:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632608
Message ID:
00632634
Views:
12
Petros,

>Your solution is working but in the array adir there are two more directories the . and the ..
>There is way to NOT include these 2 directories ? (Not programmatically - but using the ADIR() function)

I don't think so. Just delete these two rows from the array. Just write a function that returns the ADIR() result without these two lines. You can use ASCAN() to find them and ADEL() to delete. Remember to redimension the array minus two rows afterwards.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform