REPLACE

Replace or update one file with another

Syntax
REPLACE Source_PathName Destination_path [/A] [/P] [/R] [/W] REPLACE Source_PathName Destination_path [/P] [/R] [/S] [/W] [/U]Key
path : The folder where files are to be replaced.
/A : Add any missing files.
/P : Prompt for confirmation (each file)
/R : Replace even Read-only files
/S : Include all subfolders of the destination.
/W : Wait for you to insert a floppy disk.
/U : Replace (update) only files that are older than the source.Limitations:

When replacing in all subdirectories (/S ) you cannot ADD files (/A) or restrict to replacing older files (/U)

Tags: