Use > nul at the end of the command.

xcopy c:\windows\*.* c:\temp\ > nul

Darryl Jacoby, MCSE