replace
Replace files. See also:
robocopy,move,del. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/replace.
- Replace the destination file with the one from the source directory:
replace
- Add files to the destination directory instead of replacing existing files:
replace /a
- Interactively copy multiple files, with a prompt before replacing or adding a destination file:
replace /p
- Replace even read only files:
replace /r
- Wait for you to insert a disk before it replaces files (originally to allow inserting a floppy disk):
replace /w
- Replace all files in subdirectories of the destination:
replace /s
- Replace only files in the destination directory which are older than the files in the source directory:
replace /u
- Display help:
replace /?
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
