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

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

    No way to make it NOT overwrite as far as I know. but /Y will make it overwrite. and /I will get rid of the file/dict prompt. See xcopy /? for all options

提交回复
热议问题