Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Load filenames from Windows folder into database
Message
De
29/11/2006 13:45:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01173431
Message ID:
01173434
Vues:
10
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform