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

serching for files in directory 1

Status
Not open for further replies.

fluppeke

Programmer
Aug 30, 2006
38
0
0
BE
Hey Guys,

Is this possible ?

A have a directory x
In this directory and it subdirectory's i would like to see all files with the last access date on the files
Has sombody this already done ?

Wfg,

Filip
 
check out the FAQ area, There must be 10 different ways of doing it in there.
 
I wrote this one:

faq184-6312

It can probably help

Regards

Griff
Keep [Smile]ing
 
hey Griff,

This looks very good.
1 exception, can I get the last access date to

wfg,

Filip Merlier
 
It's an OK approach, but won't work with very deep paths (greater than about 240 characters) without some enhancement.

I don't think ADIR can bbe used to return the last accessed date - the last modified are there in the third and fourth columns of the returned array.

I found this link to some code to read the last accessed time and date - at first glance it looks non-trivial:


Regards

Griff
Keep [Smile]ing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top