Link to home
Start Free TrialLog in
Avatar of onedunpark
onedunpark

asked on

Finding files based on date and time

Hi,

Re: VB.net 2003

I was wondering if anyone knew of a way to find files in a specified location based on their date and time, without recursively having to loop round the directory and it's subs, checking each file individually.  I need to quickly put together a simple directory/file scan/backup app for a small network and would hope it can reasonably easily be accomplished using VB.NET

I've been through the help files and Google'd until I can Google no more and am now stumped.

Any and all replies appreciated.

Steven
Avatar of Vis781
Vis781

I really don't think so. The date/time of when the file was created of modified is part of the file properties and is not stored anywhere else. Even the windows search assistant and to iterate throught the folders etc.
Avatar of onedunpark

ASKER

Thanks for the reply.  I had hoped against this and already have a straightforward recursive routne written.  I'd just like to have avoided it.

I'll hold off a wee bit to see if there are other replies and if not, the points are yours.

ASKER CERTIFIED SOLUTION
Avatar of PockyMaster
PockyMaster
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial