it doesnt sound like its the batch file per se, but the application itself - if the application doesnt have a 'run silent' option, then, you may need something like 'PTFB', short for 'Push The [F] Button' - I had something like this years ago, it would sit in the background and waiting for a window (name) to appear and then push the 'ok' button automatically
this is a much more commercial version
Macro Recorder and Mouse Auto Clicker[
^]
There are a couple of things here
Auto Clicker C#[
^]
Auto Clicker v1.0[
^]
that are 'almost' what you want, but not quite there (assuming worst case)
[edit] this is also a plausible option
https://www.autoitscript.com/site/autoit/[
^] [/edit]