I have an "old-good" fortran.exe
file (without access to the code) and I need to execute a few hundred times using a batch file.
However, at the end of the fortran program, it prints "Press ENTER to exit"
, interrupting, of course, the execution of the batch file...
Is there a way to send the {ENTER}
to the running program?
check the sendkeys.bat. The script is capable to send a keys to running program with particular title:
call sendkeys.bat "fortran-program" "{ENTER}"
EDIT
try with this script
call nonsecureSendKeys.bat "progfortr" "{ENTER}"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With