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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Searching using Creation/Modified date

Status
Not open for further replies.

LucieLastic

Programmer
May 9, 2001
1,694
GB
hi

I need to search a directory for recently added files. I need to look to see if certain files with a particular date, after a particular time of day have been delivered. Is this possible?

Eg, files could have the format ABC_X_yymmddhhnn.pq

The directory could get huge and I don't want to get all the files where their prefix is 'ABC_X_yymmdd*.pq' and then check each one to see if it's after a certain time. Is it possible to get all the files with the prefix 'ABC_X_yymmdd*.pq' AND their creation/modified time is greater than 1600hrs for that day ?

Many thanks in advance
Lou
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top