forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Search Directory Tree for Files API

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
Woody
Valued Newbie


Joined: 10 Jul 2003
Posts: 29

PostPosted: Thu Mar 17, 2005 5:05 pm    Post subject: Search Directory Tree for Files API Reply with quote

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
View user's profile Send private message AIM Address
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Thu Mar 17, 2005 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Woody
Valued Newbie


Joined: 10 Jul 2003
Posts: 29

PostPosted: Fri Mar 18, 2005 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Woody
Valued Newbie


Joined: 10 Jul 2003
Posts: 29

PostPosted: Fri Mar 18, 2005 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group