This isn't pretty, but it works.

Create a file, say f.txt which just contains the letter f.

Run the Xcopy as following

xcopy c:\test.bat c:\temp\test < c:\f.txt

This will automatically enter f as a response to the question. You can use this technique with loads of DOS progs

Cheers

Nick