Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating array of files
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00275221
Message ID:
00275408
Views:
18
>>How do you create an array/table that contains the names of all the files in a folder using vfp 5.0
>
>nFiles = ADIR(laFiles,"c:\myfolder\*.*")
>
>nFiles will be the number of files in the folder and the array laFiles will contain the file information. See the help for ADIR for more information.

Thanks, now I'm trying to create an array of files that are located in numerous sub-folders.

The above works for one folder, but is there a way to kind of scan through all the sub-folders and make an array of all the files?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform