0

I'm using the command echo f | xcopy /f /y srcfile destfile as found here, and it works great, but it still shows up.
I've tried prepending 1>nul and 2>nul to completely suppress it, but that had undesired results. I do need to use xcopy and I do need to specify the target filename.

Community
  • 1
  • 1
THE JOATMON
  • 16,761
  • 34
  • 110
  • 200

1 Answers1

1

Try using

@echo off
echo f | xcopy /f /y srcfile destfile >nul
Bali C
  • 29,317
  • 35
  • 118
  • 150