home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / copy / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  1.6 KB  |  33 lines

  1.                               COPY
  2.  
  3. The COPY internal command is used to duplicate files and send data to and 
  4. from device names.
  5.  
  6. COPY [/A][/B]
  7.   [d1:][pathname1]filename1[.ext1][/A][/B] [d2:][pathname2][filename2][.ext2]
  8.                                   [/A][/B][/V] 
  9.   \______________________________/       \_____________________/
  10.          \source/                \destination/
  11.  
  12. [d1:][pathname1]filename1[.ext1] is the source file or files, or a device 
  13.     name. Specify multiple files with wildcard characters.
  14.  
  15. [d2:][pathname2][filename2[.ext2]] is the destination file, or a device name.
  16.     If omitted, file(s) are created on the default drive with the same name(s)
  17.     as the source. The destination disk must already be formatted.
  18.  
  19. /A causes the preceding file to be treated as an ASCII (or text) file. /A 
  20.     before the source file causes all files to be treated as ASCII files. 
  21.     The first Ctrl-Z character in a source file ends its COPY. A Ctrl-Z will
  22.     be appended to each destination file. The default when concatenating.
  23.  
  24. /B causes the preceding file to be treated as a binary file. /B before the
  25.     source file causes all files to be treated as binary files. The end of a 
  26.     binary file is determined by its size in the directory, not by the first
  27.     Ctrl-Z character as is the case for an ASCII file. Ctrl-Z will not be
  28.     appended to any destination files. The default when not concatenating.
  29.  
  30. /V verifies that the data written to the destination is correct. Setting 
  31.     VERIFY ON with the VERIFY command before a series of COPY commands is 
  32.     easier than specifying /V on each COPY command.
  33.