Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the total numbers of files of a folder
Message
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:
01055480
Vues:
18
>pls suggest me some API functions for the same ?

See VFP function SYS(2000).
lcFileName = SYS(2000, ADDBS(lcDir) + "*.*")
lnCount = 0
DO WHILE NOT EMPTY(lcFileName)
	lnCount = lnCount + 1
	lcFileName = SYS(2000,"", 1)
ENDDO

? lnCount
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform