BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

searching through files....

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
Rory Walsh
Guest





PostPosted: Sat Feb 18, 2006 6:03 pm    Post subject: searching through files.... Reply with quote



Hi everyone, I need to write a small application that will search
through all files in a set folder and extract particular info from each
one. I was thinking that I would open one file at a time, extract the
relevant details, close it and continue to the next file, but how do I
open a file in a directory without necessarily knowing it's name and how
do I then move through each file until there are all done? They are all
..html files if that helps. Any advice on the matter is much appreciated...

Rory.
Back to top
Jonathan Benedicto
Guest





PostPosted: Sat Feb 18, 2006 7:03 pm    Post subject: Re: searching through files.... Reply with quote



Rory Walsh wrote:
Quote:
Hi everyone, I need to write a small application that will search through
all files in a set folder

Look up FindFirst/FindNext/FindClose in the BCB help.

HTH

Jonathan
Back to top
Rory Walsh
Guest





PostPosted: Sat Feb 18, 2006 7:03 pm    Post subject: Re: searching through files.... Reply with quote



Perfect!


Jonathan Benedicto wrote:
Quote:
Rory Walsh wrote:
Hi everyone, I need to write a small application that will search through
all files in a set folder

Look up FindFirst/FindNext/FindClose in the BCB help.

HTH

Jonathan

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.