Reputation: 473
xcopy %SOURCE% %DESTINATION% /E
Upvotes: 1
Views: 2066
Reputation: 37569
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.
Upvotes: 1
Reputation: 11151
XCOPY %SOURCE% %DESTINATION% /E > NUL
If also want avoid error messages:
XCOPY %SOURCE% %DESTINATION% /E > NUL 2> NUL
Upvotes: 2