1. Create the NTFS symlink to some file in opposite panel so it will not preserve the date and time of original file, e.g. use TC bar button with NTFSLinkMaker tool which (unfortunately) is not able preserve the timestamp of the source:
Code: Select all
TOTALCMD#BAR#DATA
c:\totalcmd\Utils\NTLinksMaker\NTLinksMaker.exe
/q- /b /r="%P" "@%WL" "%T"
c:\totalcmd\Utils\NTLinksMaker\NTLinksMaker.exe
NTLinksMaker
c:\totalcmd\Utils\NTLinksMaker\
0
-1
Confirm elevation request, and symbolic link will be created, but it will have current computer's timestamp.
2. Open Total Commander's Commands->Synchronize Dirs...,
in the Synchronize directories mark "=" direction and press "Compare".
3. Select the line with the file of link source and link itself.
Call context menu, there choose "Copy file properties [...]" item which direction will copy attributes from original file to its link.
In the dialog which will appear, check the "Timestamp (date+time)" checkbox and press OK.
Result: Total Commander won't show errors, but the date of link also won't change.
It is expected that the date and time should change because copying the timestamp of the source file to its symlink works fine using Change Attributes dialog (put cursor on source file and leave it in inactive panel, switch to opposite panel and there put the focus cursor on the symlink, now open File->Change Attributes, there click on "From target (2)" (this should also auto check "Change date/time:" checkbox), click OK, result: the link will actually get the timestamp of original file).