home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / copy / examples / concat.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.0 KB  |  25 lines

  1. SAMPLE command and resulting output  | Comments about the output
  2.  
  3.   COPY FILE1.TXT+FILE2.TXT FILE3.TXT   COPY can concatenate many files to
  4.                     create one new file. This command 
  5. 1   file(s) copied            combines FILE1.TXT and FILE2.TXT into
  6.                     a new file called FILE3.TXT.
  7.  
  8.   COPY *.TXT BOOK            COPY will concatenate all the files in
  9.                     the current directory with the .TXT
  10. 8   file(s) copied            extension into the new file BOOK. The
  11.                     files will be copied in the order
  12.                     that they appear in the directory.
  13.                     NOTE: the destination file cannot have
  14.                     an extenson of .TXT or COPY will fail.
  15.  
  16.    COPY EXISTING.TXT+CON        COPY will accept input from the 
  17.                     keyboard, until a Ctrl-Z characater
  18. 1 file(s) copied            is entered, and append it to the end
  19.                     of the file EXISTING.TXT.
  20.  
  21.    COPY /B FILE1.TXT+,,            Two commas used with "+" will perform
  22.                     an in-place COPY, updating the file's
  23. 1   file(s) copied            last reference date. "+==" will also
  24.                     work. NOTE: The /A option is assumed.
  25.