Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Directory List
Message
From
01/10/2001 01:55:46
 
 
To
01/10/2001 00:07:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00562386
Message ID:
00562397
Views:
24
Hi John,
This is a small code for displaying sub-directory contents (ver.vfp7).
*Displaying the sub-directory contents
*----------------------------------------
=ADIR(aArray,"","D")
FOR i=1 TO ALEN(aArray,1)
    cFilePath=FULLPATH(aArray(i,1))+"\*.*"
    =ADIR(aSubArray,cFilePath)
    LIST MEMORY LIKE aSubArray
NEXT
Return
Sanjay



>Hi,
> How could I get the subdirectory list ? I try to use ADIR() but vfp only return the files instead if directory. Any ideas?
>
>Thank you
Sanjay Dhiraj Patel

MCSE, MCDBA

Net2Biz (Thailand)
Previous
Reply
Map
View

Click here to load this message in the networking platform