Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the total numbers of files of a folder
Message
 
À
03/10/2005 06:56:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01055451
Message ID:
01055459
Vues:
20
>>Hi !
>>
>>Is anybody have an idea to get the total numbers of files of a folder. We have more than 20000 files in a folder and we want to check the total numbers of files exist in folders.
>>
>>We have tried =ADIR() function to the same but it give an error "Invalid subscript reference" or "subscript out of range".
>>
>>
>>Thanks in advance
>>Ravi Mehrotra
>
>I just tried
>?ADir(dummy,'mypath\*.*')
>with a directory with more than 54000 files. Worked fine.
Tore, didn't you tryed this with VFP9?
VFP8 still has a limitation for Maximum # of elements per array 65000 (54000*5=270000)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform