I have a command:
Code: Select all
magick.exe convert test_image.png -set filename:myname %date%_%time::=% %[filename:myname].bmp
It runs perfectly from the command line, but when I tried to create a button in Total Commander and replace test_image.png with %S, the command doesn't work. As I understand, Total Commander tries to process %d and %t which I don't want to be processed by it.
Is there any way to allow TC to process only %S command?
Also, if it's important, %date%_%time::=% expression is not for ImageMagick, it's for cmd.exe
So desired command would be like this:
Code: Select all
cmd magick.exe convert %S -set filename:myname %date%_%time::=% %[filename:myname].bmp