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

前端 未结 7 1728
独厮守ぢ
独厮守ぢ 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:31

    I have good results with xcopy /d.

    It will copy NEWER files, and since we can assume that existing files have same time-stamp, you will copy only files that don't exist.

提交回复
热议问题