PDA

View Full Version : File creation time incorrect in XP Pro SP2


Darren
January 1st 05, 02:00 AM
I've noticed that the file creation date associated with files is
sometimes incorrect and is unreliable. It appears that if I have had a
file with the same name in the past, it uses the original date/time
that is was created and not the new date/time. Here's a simple test to
show you what I mean:

1. In any folder, right click in Windows Explorer and select New /
Text Document.
2. Right-click the new file and go into properties and note the
creation date is correct and matches with the modified date.
3. Delete the file.
4. Repeat steps 1 and 2 and note the creation date is the original
date/time from the first file and not the second.

Why does this work this way?

I need to know when a certain file is destroyed and recreated. What
can I look at to determine this? The modified date is no good as it
gets updated as well and I'm not interested in that.

Any help will be muchly appreciated.

Thanks,
Darren.

Alex Nichol
January 1st 05, 03:31 PM
Darren wrote:

>I've noticed that the file creation date associated with files is
>sometimes incorrect and is unreliable. It appears that if I have had a
>file with the same name in the past, it uses the original date/time
>that is was created and not the new date/time. Here's a simple test to
>show you what I mean:

When you create a file its creation date is recorded. If you update a
file, even as comprehensively as by overwriting it totally, that
creation date is not changed

--
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K. (remove the D8 bit)

Mikhail Zhilin
January 1st 05, 10:34 PM
Darren,

Restart computer. What a date of this re-created document you *see* now?
--
Mikhail Zhilin
http://www.aha.ru/~mwz
Sorry, no technical support by e-mail.
Please reply to the newsgroups only.
======
On 31 Dec 2004 17:00:33 -0800, (Darren) wrote:

>I've noticed that the file creation date associated with files is
>sometimes incorrect and is unreliable. It appears that if I have had a
>file with the same name in the past, it uses the original date/time
>that is was created and not the new date/time. Here's a simple test to
>show you what I mean:
>
>1. In any folder, right click in Windows Explorer and select New /
>Text Document.
>2. Right-click the new file and go into properties and note the
>creation date is correct and matches with the modified date.
>3. Delete the file.
>4. Repeat steps 1 and 2 and note the creation date is the original
>date/time from the first file and not the second.
>
>Why does this work this way?
>
>I need to know when a certain file is destroyed and recreated. What
>can I look at to determine this? The modified date is no good as it
>gets updated as well and I'm not interested in that.
>
>Any help will be muchly appreciated.
>
>Thanks,
>Darren.

Google