I am writing a batch file which will call an application(XYZ.exe) to update a firmware and then call other applications.
When called, the application XYZ.exe opens in a new console window, executes, then prompts user input. Once user provides input, it returns to the original console window and executes the rest.
I have two issues:
1) On exit, the application prompts user to "Press any key". The problem is I need it to exit without any user input. Is it possible to provide input from batch file. Note: This application runs in another console and batch file executes in another console
2) How can I redirect the output of the application. Note: application options > xxx.txt file does not works. I hope this is due to the application running in another console.