Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the total numbers of files of a folder
Message
From
03/10/2005 09:24:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055451
Message ID:
01055485
Views:
13
>>
>>I just tried
>>?ADir(dummy,'mypath\*.*')
>>with a directory with more than 54000 files. Worked fine.
>
>PMFJI, and it is none of my business but I am wondering, what kind of 54000(!!) files do you have in this folder? <g>.

This number of files might turn up in a database that includes images, for example. At least with DBF files, it is better to have the images in separate files, than to include them in General fields.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform