I'm trying to create a button to feed all selected files into a bat file, and to then select menu options inside the bat file (which explains the D and the 3 at the end of the code)
I also want to remind the user which button he pressed before the whole batch begins, but when I use "echo", the message pops up before every single file in the batch is processed, requiring manual interaction from the user.
Rename PATTERN=" " TO="_" FINDREP
echo Convert NTSC DF Source to MOV
pause
@NODESELECT
"path to our bat file" "{filepath$}" D 3
How to I get DOpus to display a confirmation box just once, and then process all selected files with no further messages?
How about a message at the end saying the process is complete?
Thanks sirs. I couldn't find a command for MSGBox, or anything.
Presumably you mean you put another echo command in the batch file, that we can't see, in addition to the echo command in the button itself. (The one in the button itself would only be run once.)
If you are using a single-file code like {filepath} on a line, note that that line will be run once per selected file. So your batch file will be run once per selected file, and anything in your batch file would be run that many times as well.
(My answer from the previous post is still the way to solve the problem; I'm just trying to understand/explain what was happening in your original post.)