That looks good so far thehorse13, but how do an /r /n into a batch file ?

The script works in that it enters Y into the question, but how can I force the script to accept that as the answer, or tell the batch file to hit enter; /r /n doesn't work in dos, and it would be ugly to have to do a start /wait c++prog.exe just to hit enter.

As I said before, having the user hit [enter] is not a possibility.
*the entire script runs through a cmdow window, which is completely invisible to the user*