Page 1 of 1

TC 9.22a doesn't copy a creation date (in some cases)

Posted: 2019-06-10, 19:18 UTC
by misvin
Scenario:

wincmd.ini: CopyAllTimes=1

Folder A has a file test1.txt (Modified date/time: 10-June-2019 18:00, Creation date/time: 9-June-2019 17:00).
Folder B has the same file test1.txt with the same Modified date/time (10-June-2019 18:00) but with different Creation date/time (5-June-2019 13:00).
When I copy test1.txt file from folder A to folder B (and select to overwrite test1.txt in the folder B), Creation date/time of the test1.txt file in the folder B is left 5-June-2019 13:00.

Important: If the Modified date/time of test1.txt file in folder A differs from the Modified date/time of test1.txt file in folder B, copy operation works right, and both Modified and Created date/time are copied from folder A to Folder B.

Thanks

Re: TC 9.22a doesn't copy a creation date (in some cases)

Posted: 2019-06-11, 15:08 UTC
by ghisler(Author)
I will try to reproduce it. I'm not aware of any bugs which would cause this.

Re: TC 9.22a doesn't copy a creation date (in some cases)

Posted: 2019-06-13, 11:37 UTC
by petermad
2misvin
I assume that you see the Creation date in a Custom Column...

It is not that the Creation date (or the Accessed date for that matter) is not changed - it is the field [=tc.creationdate] ( and [=tc.accessdate] ) that are not updated when the Modified date is the same in folder A and B. If you right-click an chose "Properties", or If you press Ctrl+R, or if you leave or re-enter folder B - then you will see that the Creation date actually is copied.

Apparantly TC only updates the panel when the Modified date is changed, not when the Creation or Accessed date is changed.

If the Size of the two files are different, but the Modified date is the same, then the Creation date will also be updated in the panel when copying - because TC updates the file panel due to the change in file size.

Re: TC 9.22a doesn't copy a creation date (in some cases)

Posted: 2019-06-13, 12:21 UTC
by Stefan2
petermad wrote: 2019-06-13, 11:37 UTC ...
Apparantly TC only updates the panel when the Modified date is changed, not when the Creation or Accessed date is changed.
...


Maybe there is a ini-setting for this?

WatchDirs=0 Controls the function of automatic dir list updates.
It detects when programs other than Total Commander add, modify, or delete files shown in the active file panels.
Just add the following numbers:

2: also detect changes to size, date, attributes



But perhaps unrelated :roll: (didn't test this myself)

Re: TC 9.22a doesn't copy a creation date (in some cases)

Posted: 2019-06-13, 17:52 UTC
by petermad
2Stefan2
2: also detect changes to size, date, attributes
This option is enabled in my setup - so, no it doesn't make any difference.