Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Load filenames from Windows folder into database
Message
From
29/11/2006 13:45:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173431
Message ID:
01173434
Views:
9
>Is there a way to load filenames from a windows folder into a database?

Sure, you can get the files in a directory with adir(). This will put the files into an array, which you can then process.

If you need it in a directory, write a small loop to process it.

If you need to include files in subdirectories, you will need recursion; better get the tool XDIR from the download section.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform