I have just tried to use the new env var %$DATE$ in the pack files dialog:
Code: Select all
zip:C:\somedir\%$DATE:YMD$ - test.zip
However: Once a ":" is part of the file name (which is an invalid char in file names), like
Code: Select all
left:right.zip
In the examples above: "left" and "%$DATE".
The file has no extension and the file size is 0.
I consider this a bug.
If a filename is invalid, an error message should be shown. In no case should the file name be changed without notice.
And of course it is unexpected to receive a 0 byte file instead of an archive.
Moderator message from: Stefan2 » 2023-08-03, 06:12 UTC
Please take care yourself next time, thank you.
This way others can tell if they want to open and read this thread or not,
and also can find the answer too, once they are searching the forum before posting for an already given answer.