Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MS-DOS Line - syntax - replace source pathname [target pathname] [/a] [/d] [/p] [/r] http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Syntax - REPLACE source pathname [target pathname] [/A] [/D] [/P] [/R]
             [/S] [/W]

    DOS 3.2

    (External) Updates previous versions of files.

            source pathname  is the drive or directory that contains the
                    replacement files.  The source pathname can also be
                    a single file or a wildcard filename.

            target pathname  is the drive or directory that contains the
                    files you want to replace.

            /A      adds files that exist in the source directory, but
                    NOT in the target directory, to the target
                    directory.  Do NOT use /A with /D.

            /D      replaces files in the target directory with source
                    files only if the source files are newer than the
                    corresponding target files.  Do NOT use /D with /A.

            /P      prompts before replacing a target file or adding a
                    source file.

            /R      replaces read-only files as well as unprotected
                    files.

            /S      searches all subdirectories of the target directory
                    while replacing matching files.  Do NOT use /S with /A.

            /W      waits for a key press before replacing any files.

    Example:
            replace a:msoft.num  c: /s

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson