;
                                   COPY.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               7k (53)   0E76  1.71       Howard Goldstein 3/91    Z3COM8

  1- Syntax/Options  2- Configuration  3- Notes  4- COPYPAT1.Z80              

   COPY.COM is derived from the ZCPR3 MCOPY tool written by Richard Conn.   It
supports file date stamping provided  by ZSDOS and is  more user-friendly than
MCOPY, providing increased error checking and user feedback.  A user-definable
'exclusion list' is supported to  prevent copying  of specific files  or  file
groups.   Several options  have also  been added to  ease file backup with the
Archive bit.  

   COPY only operates in the  Command Line Driven  or 'Expert' mode.   Default
parameters can be customized using COPY.CFG and ZCNFG.COM.

   With vs 1.64, COPY is no longer Z-System specific.  
:1
   Syntax   COPY dir:[filename.typ]=[dir:]filename.typ,... [/]o...
                (or)
            COPY [dir:]filename.typ dir:[filename.typ],... [/]o...
                (or)
            COPY [dir:]filename.typ,... /o...
                (Copies to B0:)
  Options 
            A -- Archive Bit Control
            E -- NO Existence Test
            I -- Inspect Files
            M -- Multiple Copy
            N -- NO Copy if Destination Exists
            O -- NO Existence test - R/O files
            Q -- Quiet
            R -- Replace Only Files existing
            S -- System Files excluded
            V -- Verify
            X -- Delete Source After Copy
     NOTE: "R" and/or "A" turns off "N", "M" turns off "X"
:2
 ZSDOS COPY Configuration Options - 1/3 

	A) Archive Bit Control of Select and Copy       
	E) Existence Test of File on Destination        
	I) Inspect Files Before Copy                    
	M) Multiple Disk Copy                           
	R) Copy ONLY files which exist (Replace)        
	S) System Files Excluded                        
	V) Verify After Copying                         
	U) Use Default Destination Drive/User below
           (B) Default Destination Directory Name
           (C) Default destination Directory/User
        D) Check for DateStamper Stamps
        0) Excluded Files
 ZSDOS COPY Configuration Options - 2/3 

(A) Archive - If yes, copies only those files which have the archive attribute
              clear.

(E) Exist    - If yes, tests if the file exists on the destination  drive/user
               before copying.   If the file exists, you are asked if you want 
               to replace it.   On ZSDOS systems  with stamping  enabled,  the 
               stamps  are compared  and an  added prompt of SAME,  OLDER,  or 
               NEWER is shown to indicate the comparative age of the files.

(I) Inspect - if yes,  COPY prints the name of each  file and asks if you wish 
              to copy it.

(M) Multiple - If yes,  copies  all listed files  to the specified drive/user,
               then prompts for a new disk and repeats the copy operation.

(R) Replace - If yes, files will only be  copied  if  the destination  already 
              exists.  The "E" and  "N" options  are disabled  but  dates will
              still be compared.
 ZSDOS COPY Configuration Options - 3/3 

(S) Exclude - If yes, excludes system (hidden) files from copy.

(V) Verify  - If yes,  the CRC's of the source and the copied file are checked 
              to confirm error free copies.

(U) Use DU  - Use default destination directory defined  by (B),  (C),  if  no
              destination is specified.  Allows COPY to behave like the MS-DOS
              command.

(B) Dir     - Default destination directory name.

(C) DU      - Default destination drive and user.  DO NOT use wildcards!

(D) DS      - Check for DateStamper Stamps

(0) Exclude - File names listed  here  will not be found in the directory scan 
              and consequently cannot be copied.  To remove  an entry,  select
              the number  and enter  a single space  for the name.  To add  an  
              entry, enter exactly 11 characters with no separators.
:3
 COPY Notes - 1/4 

   a. Version 1.71 updates (3/10/91, Howard Goldstein):
      - Major change in  handling  of  read-only  files:  The new  "O"  switch
        determines whether or not R/O files will be overwritten automatically.
        The "E" switch still applies to all other  files.   Also,  if the  "X"
        option is used,  a source file will no longer be erased if it is read-
        only.
      - Several bug fixes:  The "M" option no longer limits  COPY to one group
        of files.  Many problems affecting operation on non-ZSDOS or non-ZCPR3
        systems have been corrected.  A slight speed increase may noticed.

   b. Version 1.70 updates (3/9/91)
      - Adds separate existence test for R/O files controlled by new O switch.
      - R/O source files not erased by X option.
      - M option no longer restricts copy to one group of files.  
      - Set attributes call only done when absolutely necessary for speed 
        improvement.  
      - Disk reset done for all DOS's to ensure proper operation under DOSDISK
        or SPEEDUP RSX.  
 COPY Notes - 2/4 

      - Initialization improved
      - CRASHES UNDE vanilla CCP fixed.  
      - Top of memory calculation uses extended environment if available.  
      - Date comparisons now done on all  systems that  support  stamping, not
        just ZSDOS.  
      - Bug affecting ZRDOS Public restoration fixed.
      - Unnecessary external declarations removed.		

   c. Version 1.64 updates (7/23/89, Hal Bower):
      - Changed local stack calculations

   d. Version 1.63 updates (7/16/89, Hal Bower):
      - Corrected operation w/"vanilla" CP/M
      
   e. Version 1.62 updates (6/7/89, Hal Bower):
      - Fixed not restoring entry DU w/o ZCPR3.

   f. Version 1.61 updates (6/3/89, Hal Bower):
      - Fixed error in Help Name printout.
 COPY Notes - 3/4 
    
   g. Version 1.6 updates (5/26/89, Hal Bower):
      - Modified to operate  without  ZCPR3,  maximum use of Vers 4 libraries,
        libraries, auto-search for COPY.CFG.

   h. Version 1.5 updates (4/2/89, Cam Cotrill):
    - Fixed obscure bug in buffer calcs,  added Jay Sage's patch to allow COPY
      DIR:FN.FT to copy to default DIR: rather than BACKUP:
    - Added logic to inhibit /X if /M active.

   i. Version 1.4 updates (12/11/88, Hal Bower)
    - Corrected glitch in date comparisons.
   
   j. Version 1.3 updates (5/3/88, ):
    - Unlinked 'E' disable from 'R' and 'A', corrected lack of sensing 'R' and
      'X',  Fall back to Create if no  Modify  date,  and  print  "undated" if
      neither present, ignore erase with X-option if Verify Error.

   k. Version 1.2 updates )12/2/88, Hal Bower)
    - Added 'R'  (Replace)  option,  changed  'X' option to Erase source after 
      copy.  Release version:  2 Dec 88, HFB.
 COPY Notes - 4/4 
  
   l. Version 1.1a updates (11/25/88, Hal Bower):
    - Fix glitch on DS only operation,  allow  rename in same  user  area with
      different name.

   m. Version 1.1 updates (11/17/88, Hal Bower):
    - Formal release version.

   n. Version 1.0a-e (9/15/88, Hal Bower):
    - Bug fix in E & N Options, Added Archive,  Fixed /M  bugw/test in mcpy28,
      Restored CRC bypass if  not  verifying,  corrected glitch if no space on
      dest,  Added File  Exclude;  list,  File  rename,  Archive  only if file
      exists, test dates on each file, Add Source open time to Access field.
:4
                              COPYPAT1.Z80 

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               2k (15)   ADE8  1.0        Jay Sage 3/89            Z3COM8
==============================================================================

   This  patch  causes  the  ZSDOS  version  of  MCOPY  (called  COPY  in  the 
distribution) to  use the currently logged directory at the  time it was first 
executed after loading  as the  default destination.   With this patch one can 
enter the command  COPY DIR:FN.FT  and  the file will be copied to the current 
directory, just as with PPIP.   Note, however, that if one changes directories 
and then reruns the program using GO or JUMP, the default destination is still 
the same it was the first time the code was executed.  For example:
 
 	B12:WORK>get 100 copy.com;c2:;go dir:fn1.ft;a4:;go dir:fn2.ft
 
will copy  both files  (FN1.FT and FN2.FT) to directory C2:,  the one that was 
current the first time the freshly loaded code was actually executed.