home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / JSAGE / ZSUS / Z3HELP / C.LBR / CPD.HZP / CPD.HLP
Text File  |  2000-06-30  |  4KB  |  82 lines

  1. ;
  2.                                     CPD.COM                                   
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                4k (29)   8D31  1.00       Gene Pizzetta 8/91       Z3COM3
  6.  
  7.   1- Syntax/Options  2- Installation                                          
  8.  
  9.  
  10.    CPD is A ZCPR3 utility to compare two directories and indicate which  files
  11. exist in both  directories and  which  exist only in the first directory.   It
  12. also allows setting the  archive  attribute on those files which exist in both
  13. directories, facilitating copying those that do not.
  14.  
  15.    Version 1.0 (8/4/91) by Gene Pizzetta.   The  idea (but not the  code) came
  16. from CDIR 2.0 by Robert Wilcox and Richard Brewster.  
  17. :1
  18.     Syntax   CPD {dir:}{afn} {dir:} {{/}options}
  19.  
  20.    If no DU or DIR is given,  the current default is assumed.   If no filename
  21. is given, all files  ("*.*") is assumed.   To make the the first directory the
  22. current  directory,  only a colon or  a period need  be  entered for the first
  23. token.
  24.  
  25.    If no option is given, all matching non-system files in the first directory
  26. are displayed with files  marked  which  also  exist  on the second directory.
  27. These duplicated files will be marked by both an  asterisk following the file-
  28. name and by dim or reverse video  (the standout string installed in the TCAP).
  29. The asterisk allows visible markings in printer output or for  TCAP's  with no
  30. standout string installed.
  31.  
  32.    The file display can be aborted at any time with ^C.
  33.  Options - 1/2   
  34.  
  35.    A slash is not required if the  option list is the  third  parameter on the
  36. command line.
  37.  
  38.      B    Display only files that exist in both directories, that 
  39.           is, display only marked files.  Since option M is 
  40.           incompatible, choosing this option cancels option M.
  41.  
  42.      M    Display only files in the first directory that are 
  43.           missing from, that is, do not exist in the second 
  44.           directory.  Since option B is incompatible, choosing 
  45.           this option cancels option B.
  46.  
  47.      A    Set the archive attribute of matching files in the 
  48.           first directory that also exist in the second directory 
  49.           (marked files).  This allows copying the files with a 
  50.           copy program that recognizes archived files, such as 
  51.           COPY, PIP, ACOPY, etc.  CPD does not remove archive 
  52.           attributes on other files, so they should first be 
  53.           reset with a program such as DA or FA before calling 
  54.           CPD.
  55.  Options - 2/2 
  56.  
  57.      S    Include system (hidden) files.  By default CPD ignores 
  58.           system files in the first directory, but duplicate 
  59.           files in the second directory, including system files, 
  60.           are always found.
  61.  
  62.      P    Do not page screen display.  By default CPD waits for a 
  63.           key to be pressed after each screenful of filenames.
  64.  
  65.      L    Echo the screen display to the printer.  Printer output 
  66.           is continuous (no paged).  This option also suppresses 
  67.           screen paging.
  68.  
  69.      F    Send a final form feed to the printer after the display 
  70.           is completed.  This option has no effect unless option 
  71.           L is also active.
  72. :2
  73.  Installation 
  74.  
  75.    All options except  L  can be made the default mode by using  ZCNFG and the
  76. accompanying CPDxx.CFG file.  In that case the command line option will toggle
  77. the option to the  non-default  mode.   Do not set both options  B  and  M  as
  78. defaults.  You will not like the result.
  79.  
  80.    It is best not to change the name of the  CFG  file,  so  that  ZCNFG  will
  81. always be able to find it, even if you change the name of CPD.
  82.