Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan directories
Message
From
19/03/2005 00:46:40
Graham Trott
Hamilton Pc Repair
Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Scan directories
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00997542
Message ID:
00997542
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform