Replace or update one file with another

      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.


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

"That's the secret to life... replace one worry with another" ~ Charles M. Schulz


ROBOCOPY - Robust File and Folder Copy
MOVE - Move files from one folder to another folder on the same drive
DEL - Delete one or more files
COPY - Copy one or more files to another location
Equivalent bash command (Linux): install - Copy files and set attributes

© Copyright 1999-2014
Some rights reserved