Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File counting question
Message
From
18/09/1998 15:30:33
 
 
To
18/09/1998 15:28:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00138407
Message ID:
00138414
Views:
15
Edward, John:
Actually, ADIR() will return the count:
a=ADIR(x, "*.txt")
>>What is the best way to loop through a directory(I want to get a count of how many text files are contained in a directory)
>>Thanks in advance for any help offered,
>>John Symons
>
>Use ADIR() to get array of file names, then loop through this array, or use ALEN() to get total number.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform