Solved

Filtering files by create date

Posted on 2002-07-14
2
125 Views
Last Modified: 2010-04-04
Hi

This may be a silly question, but is there a way to filter files in a folder so that my app can operate on only the files with a particular create/edit date.

At the moment I have a loop that checks the timestamp of each file, but as the routine has to search hundreds of files each time I run it, I want a quicker way.

John
0
Comment
Question by:jdthedj
2 Comments
 
LVL 7

Accepted Solution

by:
Cynna earned 50 total points
Comment Utility
jdthedj,

Well, if you want some function that will filter this out for you, without iterating through all the files, I'm afraid there isn't such thing in Win world. You'll always have to go through all your files.
So, I don't think you'll find anything faster then FindFirst/FindNext and TSearchRec.Time to do the job.
0
 
LVL 3

Author Comment

by:jdthedj
Comment Utility
That's what I was afraid of!

John
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now