Creating a one-time popup window

Hi.

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.

Put this at the top of the command:

@confirm You pushed D 3

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.)

thanks
works better already

@confirm Convert NTSC DF Source to MOV? Rename PATTERN=" " TO="_" FINDREP @NODESELECT "path to ffmpeg" "{filepath$}" D 3

but I still have a DOS window which pops up between every item in the batch telling me to Press Any Key To Continue...

so to eliminate this I need to change the filepath$ into another type of variable?

You must have a Pause command in a batch file somewhere if that is happening. Unless ffmpeg is doing it itself.