What are the ways to use batch file yes automatic?

I need the detail description about the use of batch file yes automatic because I am not familiar with this batch file. So, in this regard I need the expert opinion so that I will be able to get some knowledge about batch file yes automatic. I am waiting for the reply.
