Request to add a variable with date and time in Total Commander 11

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Re: Request to add a variable with date and time in Total Commander 11

Post by *Sir_SiLvA »

funkymonk wrote: 2023-05-17, 19:08 UTC Looks good in TC11.00b3.

It would look even better if %$DATE% could be used in the pack files dialog to add the current date to the zip filename... (suggestion)
Support++
was kinda disappointed it didnt out of the beta 3-box :D
Hoecker sie sind raus!
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Request to add a variable with date and time in Total Commander 11

Post by *Fla$her »

ghisler(Author) wrote: 2023-05-17, 16:01 UTC I have chosen a different approach: In beta 3, have added a new pseudo environment variable %$DATE% which inserts the current date in the form YYYYMMDDhhmmss. It also supports the same placeholders as the multi-rename tool, e.g.
%$DATE:YMDhms% and also the 12 hour format variations H and i, and 2 digit years y.
In addition to that, it allows any separators like dots or dashes. In the parameters field you can use e.g.
?%|$DATE:Y-M-D h.m.s|
It also supports partial strings like other environment variables with the ~ syntax.
It doesn't work for me.
Overquoting is evil! 👎
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Re: Request to add a variable with date and time in Total Commander 11

Post by *Sir_SiLvA »

ghisler(Author) wrote: 2023-05-17, 16:01 UTC ...In beta 3, have added a new pseudo environment variable %$DATE% which inserts the current date...
funkymonk wrote: 2023-05-17, 19:08 UTC ...It would look even better if %$DATE% could be used in the pack files dialog to add the current date to the ... filename...
Any word on this or any dialog support like create a directory/file?
Hoecker sie sind raus!
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Request to add a variable with date and time in Total Commander 11

Post by *hi5 »

Sir_SiLvA wrote: 2023-05-25, 12:41 UTCAny word on this or any dialog support like create a directory/file?
You can already use [YMD] there (shift-F4 and F7)
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Re: Request to add a variable with date and time in Total Commander 11

Post by *Sir_SiLvA »

hi5 wrote: 2023-05-25, 16:11 UTC You can already use [YMD] there (shift-F4 and F7)
My bad, I missed that :oops:, then the only question remaining is:
Why that [+] button wasnt added to beta 4 to the packing dialog
also as the dialog was changed for beta 4 anyway
(compressionrate for zips/tgz added)
Hoecker sie sind raus!
Post Reply