home *** CD-ROM | disk | FTP | other *** search
- COPY
-
- The COPY internal command is used to duplicate files and send data to and
- from device names.
-
- COPY [/A][/B]
- [d1:][pathname1]filename1[.ext1][/A][/B] [d2:][pathname2][filename2][.ext2]
- [/A][/B][/V]
- \______________________________/ \_____________________/
- \source/ \destination/
-
- [d1:][pathname1]filename1[.ext1] is the source file or files, or a device
- name. Specify multiple files with wildcard characters.
-
- [d2:][pathname2][filename2[.ext2]] is the destination file, or a device name.
- If omitted, file(s) are created on the default drive with the same name(s)
- as the source. The destination disk must already be formatted.
-
- /A causes the preceding file to be treated as an ASCII (or text) file. /A
- before the source file causes all files to be treated as ASCII files.
- The first Ctrl-Z character in a source file ends its COPY. A Ctrl-Z will
- be appended to each destination file. The default when concatenating.
-
- /B causes the preceding file to be treated as a binary file. /B before the
- source file causes all files to be treated as binary files. The end of a
- binary file is determined by its size in the directory, not by the first
- Ctrl-Z character as is the case for an ASCII file. Ctrl-Z will not be
- appended to any destination files. The default when not concatenating.
-
- /V verifies that the data written to the destination is correct. Setting
- VERIFY ON with the VERIFY command before a series of COPY commands is
- easier than specifying /V on each COPY command.