Thank you, but this unfortunately does not work with a specific program:
cd C:\SpezProgramme\PowerEnc
@async:C:\SpezProgramme\PowerEnc\powerenc.exe "%1"
When I drag several files to this button, then multiple instances of this program are opened! (That many instances as the number of files). But when I drag several files to the program icon of this program, then the multiple files are all opened in a single instance of this program. So the fault must be of DirOpus!
There's no fault with Opus. All Opus is doing is running the program, once per file, exactly as you have told Opus to. What happens then is up to the program and how it handles multiple instances.
If the program you are running allows you to specify more than one file name on a single command then you can use
cd C:\SpezProgramme\PowerEnc
@async:C:\SpezProgramme\PowerEnc\powerenc.exe "%1" {allfilepath$}
The result is very strange, with e.g. 2 dragged files still 2 instances of the program are opened!
These are the dragged files in DirOpus: See Image 1: SelectedFilesInDirOpus.gif
These are the files opened in instance 1: See image 2: FilesOpenedInInstance1.gif
These are the files opened in instance 2: See image 3: FilesOpenedInInstance2.gif
You can see the mixture logic in the opened files.
But please read this: When I drag several files to the program icon (not to the button) then all these files are opened in one single instance!
This is the command-line for this case as shown in Windows Task-Manager:
So, when it does work with a single instance when dragging the files directly to the program icon (the Windows shell passes the files to the program), and it does not work with the button script (DirOpus passes the files to the program), then the fault must be of DirOpus!
BTW, there is still a problem with this button script:
cd C:\SpezProgramme\PowerEnc
@async:C:\SpezProgramme\PowerEnc\powerenc.exe {allfilepath$}
When I simply klick on the button (with no files selected) then the program does not start anymore! Does anybody have a solution for this problem too?