Running Bat file with Yes parameter

Hi All,
I want to run a bat file and it needs Y to continue with execution. Please let me know if it can be achieved through BigFix Action Script.

does the following command helps you in the command line?

echo Y | COMMAND

If so you can incorporate it into the BAT file

1 Like

I tested this one also.

wait cmd.exe /C "C:\Users\Test\Downloads\Y.bat" < Y

1 Like