replace
Windows CMD · Files · available in the simulator
What it does
Replaces existing files or adds new files to a destination directory.
Syntax
replace origen [destino] [/a] [/p] [/r] [/s] [/u] [/w]
Options and parameters
/aAdds new files to the destination directory.
/sIncludes subdirectories.
/uReplaces only files that are older than source files.
/pPrompts for confirmation.
/AAdds new files to the destination directory instead of replacing existing ones.
/PPrompts for confirmation before replacing each file.
/RReplaces read-only files as well as unprotected files.
/SReplaces files in all subdirectories of the destination directory.
/UReplaces only files that are older than the source files.
/WWaits for you to insert a disk before beginning.
Usage examples
replace fichero.txt windowsreplace salida.txt windows /a