XCOPY %SOURCE% %DESTINATION% /E > NUL
If also want avoid error messages:
XCOPY %SOURCE% %DESTINATION% /E > NUL 2> NUL
Question
xcopy %SOURCE% %DESTINATION% /E
Solution
XCOPY %SOURCE% %DESTINATION% /E > NUL
If also want avoid error messages:
XCOPY %SOURCE% %DESTINATION% /E > NUL 2> NUL
OTHER TIPS
try this:
xcopy %SOURCE% %DESTINATION% /EQ
If you use >nul
, you also get no over-writing message and Xcopy
will wait for key pressing ... endless.