How to set "tc.creationdate" and "tc.accessdate" = "tc.writedate" ?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
PiotrMPPL
Junior Member
Junior Member
Posts: 44
Joined: 2018-10-26, 07:04 UTC

How to set "tc.creationdate" and "tc.accessdate" = "tc.writedate" ?

Post by *PiotrMPPL »

Hi

How to set "tc.creationdate" and "tc.accessdate" = "tc.writedate" ?

I tried that but it doesn't work

Code: Select all

Creation date, Write date, Access date=tc.creationdate := "tc.writedate" | tc.writedate := "" | tc.accessdate := "tc.writedate"

Creation date, Write date, Access date=tc.creationdate := tc.writedate | tc.writedate := "" | tc.accessdate := tc.writedate

Please help
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: How to set "tc.creationdate" and "tc.accessdate" = "tc.writedate" ?

Post by *Fla$her »

You don't have square brackets. In addition, ' | tc.writedate := ""'' is redundant.

wincmd.ini:

Code: Select all

[attrplugin]
Align dates=tc.creationdate := [=tc.writedate] | tc.accessdate := [=tc.writedate]
Command: OPENATTRIBUTES=Align dates
Overquoting is evil! 👎
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: How to set "tc.creationdate" and "tc.accessdate" = "tc.writedate" ?

Post by *beb »

Fla$her has already answered the OP's question, and that's it.
Nevertheless, while I was doing some tests searching for the answer myself I found out that none of my templates worked.
It had appeared, that the attrplugin entries in my .ini went with '|' (not having spaces) as a splitter between the components, not with ' | ' one (having spaces).
Nothing worked until I placed those blank spaces there.
I think this is a bug.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: How to set "tc.creationdate" and "tc.accessdate" = "tc.writedate" ?

Post by *Fla$her »

beb wrote: 2024-01-12, 13:32 UTC Nothing worked until I placed those blank spaces there.
I think this is a bug.
If you made these entries manually, then this is not a bug. Spaces are used there as part of the separator.
Apparently, this is the author's intention. The reason for this may be poor readability of "text]|text".
Overquoting is evil! 👎
Post Reply