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
Post a Comment