Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan directories
Message
De
19/03/2005 00:46:40
Graham Trott
Hamilton Pc Repair
Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Scan directories
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00997542
Message ID:
00997542
Vues:
59
Is there a way to scan a directory and subdirectory for a skeleton (*.mp3 for example) and place the results in an array including drive, path and filename. This would then be gathered into a table to allow triggering winamp or another player to play. I have the winamp api figured out finally but adir() only seems to return the default dir.

i.e.
mpno=ADIR(mp3,'*.mp3',"D")

dir structure
g:\music\dj\country
g:\music\dj\rock
g:\music\dj\oldies

etc

default dir is g:\music\dj
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform