Author Topic: docs/customcommands_examples  (Read 663 times)

mlabrkic

  • Newbie
  • *
  • Posts: 9
    • View Profile
docs/customcommands_examples
« on: February 19, 2022, 18:49:57 »
Hi.
I think the file name cannot have ":" .
No:  -${time:hh:mm:ss}.zip"

Custom Commands - Examples
http://multicommander.com/docs/customcommands_examples

Pack Files

Not ( "file:name".txt):
MC.Filesystem.PackFiles FILES="D:\MyFiles\*.*" METHOD="Zip" TARGET="${targetpath}${date:yyyy-MM-dd}-${time:hh:mm:ss}.zip"

That ("file-name".txt):
MC.Filesystem.PackFiles FILES="D:\MyFiles\*.*" METHOD="Zip" TARGET="${targetpath}${date:yyyy-MM-dd}_${time:HH-mm-ss}.zip"

AlanJB

  • Power Member
  • ****
  • Posts: 394
  • VERY old Programmer
    • View Profile
Re: docs/customcommands_examples
« Reply #1 on: February 20, 2022, 16:15:25 »
Hi.
I think the file name cannot have ":" .
No:  -${time:hh:mm:ss}.zip"

Custom Commands - Examples
http://multicommander.com/docs/customcommands_examples

You are absolutely correct.