Having XCopy copy a file and not overwrite the previous one if it exists (without prompting)

前端 未结 7 1600
独厮守ぢ
独厮守ぢ 2021-01-01 11:50

I\'m sending a commands to a remote computer in order to have it copy a file. I want the file to be copied, but not to overwrite the previous file with the same name (if it

相关标签:
7条回答
  • 2021-01-01 12:36

    just in case anyone else finds this: robocopy x:\sourcefolder Y:\destfolder /s /e /r:0 /z

    much better than xcopy, even gives you a table at the end informing of any failed or skipped files. Doesn't prompt to not overwrite.

    0 讨论(0)
提交回复
热议问题