windows - How to skip the procedure needed to press any key to exit the exe in batch file -


i'm writing batch file under windows , have executable(*.exe) perform tasks

despite task needed have been done

but seems executable has mechanism press key exit

i can't proceed execute next line of batch file

because need execute .bat other program automatically

i need skip procedure execute whole .bat

does have method this?

it depends on how executable inputs keystroke. may impossible, might try 1 of following in batch file:

*executable* < nul 

or

echo x|*executable* 

(replace "*executable*" actual name of executable.)


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -