Automatically answer to input prompt in windows batch
<p>In a windows batch, I want to start a program that prompts the user for an input:</p>

<pre><code>&gt;someProgram.exe
&gt; "Please enter "s" to start the program:
&gt; 
</code></pre>

<p>How can I automatically pass the "y" input to the prompt, such that I can start the program by just clicking the batch? </p>