|
-
Jan 7th, 2005, 05:58 AM
#1
Thread Starter
Fanatic Member
Searching directory structure for files
I would have a directory structure like this:
-Root
----Backups
------------SystemDB-11-11-04-11:05.mdb
------------SystemDB-12-11-04-11:05.mdb
------------SystemDB-13-11-04-11:05.mdb
------------SystemDB-14-11-04-11:05.mdb
------------SystemDB-15-11-04-11:05.mdb
these folders are created to store a backup of a database everyday, then the database is copied into the folder.
How could i search the BACKUPS folder for sub-directories containing a database (*.mdb) file starting with the string 'SystemDB'?
Can i use the DIR function for this or is it too limited for this check?
thanks
Last edited by x-ice; Jan 8th, 2005 at 10:16 AM.
-
Jan 7th, 2005, 06:51 AM
#2
Re: Searching directory structure for files
I would take a look at the FindFirstFile and FindNextFile API calls.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|