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

Check last accessed time without changing last accessed time!

Status
Not open for further replies.

roycrom

Programmer
Aug 2, 2002
184
GB
Hi,

We have a file server that we are looking into buying an archiving solution for.

Simply put, enter into the archiving solution the file system to archive on, and enter conditions for what parts to archive.

We would like to archive on last accessed time as opposed to last modified.

Does anyone know of a way to check the last accessed time without right-clicking and properties as this has the effect of changing the last accessed time - which makes sense but is of no use.

Thanks in advance!

------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla

roycrom :)
 
To anyone else who this may interest - I found the solution using the DOS prompt. Use the DIR command with the switch /TA

i.e. C:> dir /TA

this looks at the last accessed time without actually modifying it.

------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla

roycrom :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top