Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xcopy %SOURCE% %DESTINATION% /E
XCOPY %SOURCE% %DESTINATION% /E > NUL
如果还想避免错误消息:
XCOPY %SOURCE% %DESTINATION% /E > NUL 2> NUL
尝试这个:
xcopy %SOURCE% %DESTINATION% /EQ
如果您使用>nul,您也不会收到覆盖消息,并且Xcopy将等待按键...无休止。
>nul
Xcopy