| View previous topic :: View next topic |
| Author |
Message |
Woody Valued Newbie

Joined: 10 Jul 2003 Posts: 29
|
Posted: Thu Mar 17, 2005 5:05 pm Post subject: Search Directory Tree for Files API |
|
|
Hello again everyone,
I was checking out CodeScript's SearchTreeforFile and this tool works great searching for one file. However it does not support wildcards or return more then one search result.
I am interested in utilizing API if necessary to be able to give a wildcard (i.e *.mp3) and return all resulting files in directories and subdirectories. Does anyone know of an easy way to do this?
Thanks in advance! _________________ - Woody |
|
| Back to top |
|
 |
marty Professional Member


Joined: 10 May 2001 Posts: 789
|
Posted: Thu Mar 17, 2005 8:55 pm Post subject: |
|
|
Hummm... VDSFLIST.dll from the VDSDLL3 should be able to do that.
And I think I see some code somewhere over here... |
|
| Back to top |
|
 |
Woody Valued Newbie

Joined: 10 Jul 2003 Posts: 29
|
Posted: Fri Mar 18, 2005 5:07 pm Post subject: |
|
|
Hmmm.... trying out vdsflist in the vdsdll and unable to get the example or a little code of my own to work in VDS 5.
| Code: |
external vdsdll.dll
#DEFINE command,dll
#DEFINE function,dll
dll flist,flags,F
dll flist,list,c:,*.txt,ahrs*
dll flist,save,templist.txt
|
Error: Error in external command or function
at line: 4
Any ideas???[/img] _________________ - Woody |
|
| Back to top |
|
 |
Woody Valued Newbie

Joined: 10 Jul 2003 Posts: 29
|
Posted: Fri Mar 18, 2005 5:27 pm Post subject: |
|
|
Works with VDS 5
| Code: |
external vdsflist.dll
#DEFINE command,flist
#DEFINE function,flist
flist flags,FS
flist list,c:,test.txt,ahrs*
flist save,templist.txt
|
_________________ - Woody |
|
| Back to top |
|
 |
|