I am trying to run a batch file which requires user input "y/n" to do further action. I want to call this batch file for automation, as during automation argument yes or no need to be passed without user intervention, any idea how to achieve it ?
cmd /c setup.bat
Now if setup.bat
is run " yes or no " need to be selected to get the desired result
as now this setup.bat
is called during automation. Is there anyway to pass "yes" parameter as an input to setup.bat
?