home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 04 / 0034 / iso_0085.iso < prev    next >
Encoding:
Text File  |  1991-12-02  |  2.7 KB  |  58 lines

  1. COMMAND:  COPY (Copy Files)
  2.  
  3. FUNCTION: Copies files between devices or sub-directories and allows copied
  4.           files to be concatenated or renamed.
  5.  
  6. FORMAT:   see below
  7.  
  8. TYPE:     DOS internal command
  9.  
  10. REMARKS:  Option 1 - Copy with Same Name
  11.  
  12.           COPY [/A][/B] [d:][path]filename[.ext] [d:[path]]
  13.  
  14.           The specified source files are copied to the current or specified
  15.           target drive or directory without changing the names of the files.
  16.  
  17.           Option 2 - Copy with Different Name
  18.  
  19.           COPY [/A][/B] [d:][path]filename[.ext] [/A][/B]
  20.                [d:][path]filename[.ext] [/A][/B][/V]
  21.  
  22.           The specified source files are copied to the current or specified
  23.           target drive or directory and their names are changed to that of the
  24.           target filespec.
  25.  
  26.           Option 3 - Copy and Combine Files
  27.  
  28.           COPY [/A][/B] [d:][path]filename[.ext][/A][/B]
  29.                [+[[,,]d:][path]filename[.ext][/A][/B] ... ]
  30.                [d:][path][filename[.ext]][/A][/B][/V]
  31.  
  32.           The specified source files are concatonated and copied to the
  33.           specified target file in the default or specified directory. If no
  34.           target file is specified the additional files are added to the end
  35.           of the first source file. In either case, the result file is
  36.           stamped with the current date and time. The special case of one
  37.           source file followed by + causes the file to be copied to the
  38.           default drive and path and causes its date-time-stamp to be
  39.           changed to the current date and time. The special case of a source
  40.           file followed by +,, and the drive and path it is on simply causes
  41.           the date-time-stamp of the file to be changed.
  42.  
  43.           /A with a source filespec causes the file to be copied up to but not
  44.           including the first EOF mark, while with a target filespec, an EOF
  45.           mark is added to the end of the file.
  46.           /B causes the entire file to be copied with no EOF marks added.
  47.           Both the /A and /B parameters apply to the filespec preceeding it
  48.           and to all succeeding filespecs until another /A or /B is found.
  49.           /V causes DOS to verify that the sectors written to the target
  50.           disk are recorded properly, as is done by the VERIFY command.
  51.  
  52.           The default values are /A when concatenating, and /B when not.
  53.           Global file name characters are allowed in specifying source files.
  54.           To copy from the keyboard(display) to a file, use the source
  55.           name CON:. When global file name characters are used, the name of
  56.           each file is listed as it is copied. If the destination file name
  57.           already exists it is overwritten.
  58.