Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Sep 21, 2018 7:30 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Finding files using wildcards?
PostPosted: Thu Mar 28, 2013 3:49 pm 
Offline

Joined: Tue Apr 17, 2007 9:19 pm
Posts: 437
Is there a way to get a list of files in a folder based on a file spec? For example, I want to retrieve all files from a network folder that match this specification:

F:\DATAFOLDER\COMPANY.*

I've been parsing the files using the folder.count routine that everyone talks about, but I've noticed that if there are a lot of files in a folder and the folder is on a network, it takes considerable more time to parse. Anyway to speed this up.

I'm coming from Visual Foxpro and they had a very nice high level function that would return a file in a folder based on a file specification using wildcards. You could then use the same function again with a parameter and it would fine the next file with that matches the file spec.

It has to be cross platform (Mac and Win).


Top
 Profile  
Reply with quote  
 Post subject: Re: Finding files using wildcards?
PostPosted: Thu Mar 28, 2013 4:10 pm 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
I don't know of any cross-platform techniques to do this, though there are platform-specific techniques that are quite fast.

_________________
Boredom Software


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group