I noticed something strange to happen when I use {filepath$}.
I have set up the following to make signing of some files a bit easier. The first one is sign.exe that does the signing, the second one is the source, the third one is the destination, and the last two are the certificate and key files used in signing.
@sync:sign.exe -s {filepath$} {filepath$|noext}.SiGNED{filepath$|ext} certificate.cer key.key
I understand that I should set the function to be MS-DOS Batch Function (it is a batch indeed) and if I do that way it works normally but it is not synced. e.g. if I select 4 files sign.exe is run 4 times at the same time (more or less, there is some delay between starting the instances).
Now if I set it to Standard Function (Opus or external) they run synced, one after another, but I guess {filepath$} messes things up. e.g if I select 4 files sign.exe is run 16(!) times, 4 times for each file and 25(!!!) times with 5 selected files. It seems that it executes the exe for each file as many times as there are files selected.
Any idea on why does it work this way?