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

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

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

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

Post by *misvin » 2019-06-10, 19:18 UTC

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: 37695
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) » 2019-06-11, 15:08 UTC

I will try to reproduce it. I'm not aware of any bugs which would cause this.
Author of Total Commander
http://www.ghisler.com

User avatar
petermad
Power Member
Power Member
Posts: 8536
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2019-06-13, 11:37 UTC

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 9.5b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Stefan2
Power Member
Power Member
Posts: 2625
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 » 2019-06-13, 12:21 UTC

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)
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

User avatar
petermad
Power Member
Power Member
Posts: 8536
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

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

Post by *petermad » 2019-06-13, 17:52 UTC

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 9.5b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

Post Reply