Answer the question
In order to leave comments, you need to log in
How to ignore the dialog and move on to the next command?
I form and execute a batch file, then I analyze the output files. Code example:
C:\someprogram.exe -someindex somefile.txt > some_resultfile.txt
C:\someprogram.exe -someindex somefile_2.txt > some_resultfile_2.txt
...
C:\someprogram.exe -someindex somefile_n.txt > some_resultfile_n.txt
Answer the question
In order to leave comments, you need to log in
someprogram.exe - console?
If errors and questions are output to the console, and the answer is waiting on stdin, then the answers to the questions can be written to a text file (for example, answer.txt) and redirected instead of the standard input:
If someprogram.exe is a graphical utility and questions arise in their windows, then it is much more complicated, but there is the same way out - you need to use utilities like nircmd or autoit, so that with their help enter information into the windows that appear or press some buttons. These utilities are able to emulate user actions, all this is done by appropriate scripts.
autoit will help - they even have an IDE
autoit-script.ru/index.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question