Name

replace

Synopsis

replace source-files destination [options]

Replace/update files in a destination directory.

Options

/A

Add new files to the destination directory. This is not valid with /U or /S.

/U

Update only destination files that are older than their corresponding source files.

/S

Recurse subdirectories.

/R

Replace read-only files.

/P

Require confirmation for all replacements and additions.

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.