Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the total numbers of files of a folder
Message
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:
01055480
Views:
11
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform