Renaming a file can result in an incorrect timestamp

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Megalith
Posts: 78
Joined: 24 Jan 2015 16:53

Renaming a file can result in an incorrect timestamp

Post by Megalith »

There seems to be a bug where a renamed file will adopt the creation date of a deleted file that had the same name.

For instance, let's say C:\ has two files named "Foxes" and "Foxes Two." When "Foxes" is deleted and "Foxes Two" is renamed to "Foxes," the RENAMED file will adopt the creation date of the ORIGINAL "Foxes" file. Interestingly, if you right click on the file and go into Properties, Windows will give you the option to revert the file to a previous version (the original "Foxes" file), even though it is technically a different file.

Due to the latter, it isn't clear to me whether it is an XYplorer issue or Windows issue.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Renaming a file can result in an incorrect timestamp

Post by highend »

No bug, moved to questions and answers

See e.g. https://df-stream.com/2012/02/file-syst ... n-windows/
One of my scripts helped you out? Please donate via Paypal

Post Reply