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 / CPM / ZCPR33 / A-R / RCPMC.LBR / MC.DZC / MC.DOC
Text File  |  2000-06-30  |  2KB  |  57 lines

  1. ;=============================================================================
  2. ;
  3. ;        M C     C O M M A N D
  4. ;
  5. ;============================================================================
  6.  
  7. ; +++++++    NOT AN OFFICIAL RCP SEGMENT
  8.  
  9. ; Command:    MC
  10. ; Function:    Multi-Copy:  Wild Card File Copier
  11. ; Author:     Rob Friefeld, 4607 Colorado St., Long Beach, CA 213-434-7338
  12. ; Date:        23 Aug 1987 Version 1.0
  13.  
  14. ; Comment:    ERAON = YES assures all routines needed in  rcpsubs.lib 
  15. ;        are available.
  16.  
  17. ; Usage:    MC SOURCE [DESTINATION]    i.e. MC WHAT WHERE
  18. ;        Source is the afn to be copied and destination is an optional
  19. ;        afn.  If omitted, source comes to current DU:
  20. ;        R/O files are copied to R/W.
  21.  
  22. ;
  23. ; MC EQUATES
  24. ;
  25.  
  26. ; # RECORDS TO READ ON EACH PASS (Byte value)
  27.  
  28. FILELOC    EQU    TPA    ; Location file read in
  29. RECBLKS    EQU    255    ; About 32k buffer.  Leaves transient at 8000h alone.
  30.  
  31.  
  32. IF the file is less than 32k size, AND if it is a program that executes at
  33. 100h, then a MC and GO will work.  Note that Z33 tools which work at 8000h
  34. will leave the copied code alone, and vice versa.
  35.  
  36. ; SHOW SPACE ON EXIT
  37. MCSPA    EQU    NO    ; Show space
  38. MCSP    EQU    MCSPA AND SPACEON    ; Don't do it unless routine on
  39.  
  40.  
  41. EXAMPLES:
  42.  
  43. MC ROOT:LZED.COM TOP:ED.COM
  44.     Copies file with rename from ROOT: to TOP: (e.g. on ram disk)
  45. MC LIB:*.REL
  46.     Fetches all .rel files from the LIB: directory to current DU:
  47. MC *.* BAKUP:
  48.     Sends everything from current DU: to BAKUP: directory
  49.  
  50. Wild card rename also works but may be dangerous to your mental health.
  51. MC TEST.* a0:DONE.*
  52.  
  53. This program is about the same as one I wrote earlier called PIPE (for
  54. the similarity to PIP).  The shorter name has been used here for convenience.
  55.  
  56. END MC.DOCe I wrote earlier called PIPE (for
  57. the similarity to PIP).  The sh