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 #1 - copy source pathname [target pathname] [/a] [/b] [/v] http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Syntax #1 - COPY source pathname [target pathname] [/A] [/B] [/V]

    (Internal) Copies files from same directory as the source (giving
    them different filenames) or to another directory (giving them the
    same or different filenames).  To leave the filename the same, omit
    the filename from the target pathname.  If you omit the /A and
    /B parameters, COPY defaults to /B.

        /A  source file: treats the file as ASCII (text or data) file.
            target file: adds an EOF marker to the file.

        /B  source file: treats the file as a BINARY file (program) file.
            target file: does NOT add an EOF marker to the file.

        /V  turns sector verification on.

    Example:
            copy readme.doc /a  readme.txt
            copy b:pw/memo.doc  memo.txt


    Syntax #2 - COPY target pathname + source pathname1 [+ source pathname2]
                [/A] [/B] [/V]

    (Internal) Appends one or more source files to the target
    file.  If you omit the /A and /B parameters, COPY uses /A.

    NOTE:   See Above parameter switches for definitions...

    Example:
            copy b:text.dat + work.dat + day.dat


    Syntax #3 - COPY source pathname1 [+ source pathname2...]
                target pathname [/A] [/B] [/V]

    (Internal) Combines any number of source files into a new target file.
    If you omit the /A and /B parameters, COPY uses /A.

    NOTE:   See Above parameter switches for definitions...

    Example:
            copy text.dat + work.dat  b:norton.txt

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