Link to home
Start Free TrialLog in
Avatar of cgruber
cgruber

asked on

File Created Vs Last Written Vs Last Accessed Dates?

I have a file timing.doc with the following date stamps:

File Created 11/04/2013 21:01:19
File Written 12/04/2013 17:23:52
Last Accessed 11/04/2013 21:01:19

What is the difference between them?
ASKER CERTIFIED SOLUTION
Avatar of Kirill Morozov
Kirill Morozov
Flag of Israel 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
Avatar of cgruber
cgruber

ASKER

So shouldnt file written and last accessed be the same?

I mean when you write to a file you automatically access it dont you?
Sometimes program just append to file without actually accessing it
Avatar of ktaczala
MS keeps track of them separately
File created time will never change unless you delete and recreate the file
file written time changes only when the file was opened and written to.
file accessed time (this is a strange one) from what I can tell it only changes when you open and read the file

That said all 3 of them can be changed with 'set' instead of 'get'