Piping in the Y - for yes

R

Ray at

What's the command? Some offer it as a switch, /Y

You can also try:

@echo Y|your command here.

Ray at work
 
M

Mark V

In said:
How can I pipe in a yes for automatically answering in a batch file?

That may depend on what exactly needs the "Y". Different programs may
work differnetly. Some commands accept "/Y" switch. Some programs
will work if you
echo/|program.exe or
echo/ Y | program.exe

Any specific thing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top