Have you considered:
/Y Suppresses prompting to confirm you want to overwrite an existing destination file.

or

The switch /Y may be preset in the COPYCMD environment variable.

Also if you want to use the ECHO then try :

Shell '%comspec% /c echo A| ...'
_________________________
Home page: http://www.kixhelp.com/hb/