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

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
misvin
Member
Member
Posts: 112
Joined: 2010-08-14, 11:25 UTC

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

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

I will try to reproduce it. I'm not aware of any bugs which would cause this.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post 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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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)
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post 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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply