Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding files modified after a specific date/time

Status
Not open for further replies.

onedunpark

IS-IT--Management
Jan 17, 2003
19
GB
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
 
... without recursively having to loop round the directory and it's subs, checking each file individually

I don't think there is any way to do this without doing what you say...recursively checking each file in each directory. Sorry.


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
I posted a pretty simple resursive file searcher here just a few days ago. It's really not that bad, and adding a modifided date check or an Archiving flag check would not be hard. I'll see if I can find the post.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top