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 / ZCPR2 / MCOPY.HLP < prev    next >
Text File  |  2000-06-30  |  11KB  |  282 lines

  1. MCOPY Overview
  2. MCOPY Command Line Options
  3. MCOPY Interactive Mode
  4. Sample MCOPY Sessions
  5. :MCOPY Overview
  6.  
  7.      MCOP┘á i≤ ß filσ cop∙ prograφ designeΣ fo≥ usσ unde≥á ZCPR2«  ì
  8. I⌠á support≤á man∙á feature≤ relateΣ specificall∙á t∩á thσá ZCPR▓ ì
  9. System and is very intimately tied into the ZCPR2 System.
  10.  
  11.      Thσá basiπá purposσá oµá MCOP┘ i≤ t∩á cop∙á file≤á froφá onσ ì
  12. director∙ (disk/use≥ area⌐ t∩ anothe≥ unde≥ ZCPR2«á  I⌠á support≤ ì
  13. thσáá nameΣá director∙á form≤á oµá ZCPR2¼áá anΣá thσá sourcσá anΣ ì
  14. destinatioεá directorie≤á caεá bσ specifieΣá iεá term≤á o≥á nameΣ ì
  15. directories or DU: forms or both.
  16.  
  17.      MCOP┘á i≤ als∩ intendeΣ t∩ bσ useΣ fo≥ backu≡ purposes«á  I⌠ ì
  18. ha≤á thσá abilit∙á t∩ repeatedl∙ cop∙ ß se⌠á oµá file≤á froφá onσ ì
  19. director∙á t∩ another¼á pausinτ betweeε successivσ cop∙ passe≤ t∩ ì
  20. allo≈á thσ use≥ t∩ changσ disks«á  ┴ ke∙ t∩ thσ usσ oµá MCOP┘á iε ì
  21. genera∞á i≤ tha⌠ oncσ MCOP┘ ha≤ beguε operations¼á thσ use≥á neeΣ ì
  22. neve≥ concerε himselµ witΦ Warφ Bootinτ thσ systeφ afte≥ changinτ ì
  23. disks; MCOPY is doing that for him.
  24.  
  25.  
  26.      Iεá copyinτá ßá filσ froφ onσ director∙á t∩á another¼á MCOP┘ ì
  27. performs the following steps:
  28.  
  29.           1«  I⌠ log≤ int∩ thσ sourcσ director∙ anΣ scan≤ fo≥ thσ ì
  30. files specified by the user
  31.  
  32.           2«á  I⌠ log≤ int∩ thσ destinatioε directory¼ determine≤ ì
  33. iµ ß cop∙ oµ thσ filσ exist≤ oε thσ destinatioε anΣ delete≤ i⌠ iµ ì
  34. it does
  35.  
  36.           3«á  MCOP┘ copie≤ thσ filσ iε thσ sourcσ director∙ int∩ ì
  37. the destination directory
  38.  
  39.           4«á  MCOP┘á set≤á thσá attribute≤ oµ thσá filσá iεá thσ ì
  40. destinatioεá director∙á t∩á bσ thσ samσ a≤ thosσá iεá thσá sourcσ ì
  41. directory
  42.  
  43.           5«á  MCOP┘ optionall∙ verifie≤ botΦ file≤ b∙ mean≤ oµ ß ì
  44. CRC Check
  45.  
  46.      MCOPY is invoked by one of the following forms:
  47.  
  48.           MCOPY //                 <-- Print Help
  49.           MCOP┘                    <-- Ente≥ Interactivσ Mode
  50.           MCOPY files options      <-- Immediately Copy
  51.  
  52.      Thσ "MCOP┘ file≤ optionsó forφ i≤ extremel∙ flexiblσ iεá it≤ ì
  53. capabilities«áá  Wheεáá firs⌠á invoked¼áá MCOP┘á ha≤á ßáá defaul⌠ ì
  54. destinatioε director∙ defineΣ (b∙ GENINS)«á  Thσ "filesó fielΣ i≤ ì
  55. ßá serie≤á oµá filσá assignmen⌠á specifications¼áá wherσá sucΦá ß ì
  56. specification is of the form:
  57.  
  58.           dir:=dir:filename.typ or dir:filename.typ
  59.  
  60. Iµá thσá firs⌠ forφ i≤ encountered¼á thσ defaul⌠á destinatioεá i≤ ì
  61. temporaril∙á redefineΣ t∩ bσ thσ director∙ indicateΣ oε thσá lef⌠ ì
  62. oµá thσ "=ó character¼á anΣ al∞ file≤ referenceΣ thereafte≥ unti∞ ì
  63. the next "dir:=dir:filename.typ" form are copied to this default.
  64.  
  65.      To illustrate my point, note the following example:
  66.  
  67.           MCOPY FILE1.*,HELP:FILE2.HLP,TEMP:=TEST.TXT,HI.*
  68.  
  69. Let'≤ assumσ tha⌠ thσ defaul⌠ defineΣ b∙ GENIN╙ i≤ thσá director∙ ì
  70. nameΣá BACKUP«á  Iεá thi≤á case¼á file≤ matchinτ FILE1.¬á iεá thσ ì
  71. curren⌠á director∙ arσ copieΣ t∩ BACKUP¼á thσ filσá FILE2.HL╨á iε ì
  72. director∙á HEL╨á i≤ copieΣ t∩ BACKUP¼á thσ filσ TEST.TX╘á iεá thσ ì
  73. curren⌠ director∙ i≤ copieΣ t∩ TEMP¼á anΣ thσ file≤ matchinτ HI.¬ ì
  74. in the current directory are copied to TEMP.
  75.  
  76.      Oncσá ßá DIR:╜ i≤ encountered¼á thσ defaul⌠á destinatioεá i≤ ì
  77. redefined«á  Encounterinτ ß differencσ source¼á however¼ doe≤ no⌠ ì
  78. change what the default source directory is.
  79.  
  80. :MCOPY Command Line Options
  81.  
  82.      Thσá option≤ portioε oµ thσ "MCOP┘ file≤ optionsó commanΣ i≤ ì
  83. a set of none or more of the following characters:
  84.  
  85.           E -- Test for Existence of File on Destination and
  86.                User Approves Copy before Copy is Done
  87.  
  88.           I -- User Approves Each File before Copy Begins
  89.  
  90.           M -- Multiple Copy (Repeat) Facility
  91.  
  92.           Q -- Quiet Operation (No Activity Displays)
  93.  
  94.           V -- Verify Facility
  95.  
  96.      GENIN╙ i≤ useΣ t∩ se⌠ thσ defaul⌠ setting≤ fo≥ eacΦ oµ thesσ ì
  97. option≤ (turninτ theφ oε o≥ off)¼ anΣ thσ optioε character≤ servσ ì
  98. to toggle the settings from the defaults.
  99.  
  100.  
  101.      Thσá ┼á optioεá (Existencσ Test⌐ look≤á oεá thσá destinatioε ì
  102. director∙á t∩á seσá iµ thσ filσ i⌠ i≤ abou⌠ t∩á cop∙á i≤á alread∙ ì
  103. there«  I⌠ theε tell≤ thσ use≥ oµ it≤ finding≤ anΣ ask≤ hiφ iµ hσ ì
  104. want≤ t∩ g∩ aheaΣ witΦ thσ copy«á  Thσ use≥ ma∙ elec⌠ t∩ cop∙á o≥ ì
  105. no⌠ cop∙ a≤ hσ desires.
  106.  
  107.      Thσá ╔á optioε (Inspect⌐ display≤ al∞ file≤ whicΦ matcΦá thσ ì
  108. indicateΣ sourcσ file≤ t∩ thσ user¼á allowinτ hiφ t∩ selec⌠ whicΦ ì
  109. file≤á hσá want≤ t∩ copy«á  I⌠ theε copie≤á thσá selecteΣá files«  ì
  110. MCOP┘á perform≤á thi≤á operatioεá fo≥ eacΦ se⌠ oµá file≤á iεá thσ ì
  111. command line (separated by commas).
  112.  
  113.      Thσá ═á optioε (Multiplσ Copy⌐ pause≤á beforσá startinτá thσ ì
  114. copy¼á allowinτá thσ use≥ t∩ abor⌠ thσ procedurσ o≥ inser⌠ ß disδ ì
  115. int∩ thσ source¼á thσ destination¼á o≥ botΦ anΣ instruc⌠ MCOP┘ t∩ ì
  116. proceed«á  Afte≥ copyinτ al∞ oµ thσ indicateΣ files¼á MCOP┘á theε ì
  117. pause≤á again¼á allowinτá thσ use≥ t∩ agaiε changσá disks«á  Thi≤ ì
  118. continues until the user aborts the procedure.
  119.  
  120.  
  121.      Thσá ╤ optioε (Quiet⌐ turn≤ ofµ thσ MCOP┘ activit∙á display«  ì
  122. Iε norma∞ operation¼ MCOP┘ i≤ constantl∙ tellinτ thσ use≥ wha⌠ i⌠ ì
  123. i≤á doing«á  ╔á fee∞á tha⌠ thi≤ i≤á bette≥á thaεá quietl∙á havinτ ì
  124. problems without the user knowing what is going on.
  125.  
  126.      Thσá ╓á optioε (Verify⌐ i≤ useΣ t∩ checδ thσ copieΣ filσá t∩ ì
  127. insurσ tha⌠ thσ cop∙ i≤ good«á  WitΦ thi≤ optioεá engaged¼á MCOP┘ ì
  128. compute≤á ßá CR├ valuσ oµ thσ sourcσ filσ a≤ i⌠ read≤á it«á  Wheε ì
  129. MCOP┘ ha≤ completeΣ thσ copy¼ i⌠ read≤ thσ destinatioε filσ back¼ ì
  130. computinτ it≤ CR├ value¼á and¼ wheε complete¼ i⌠ compare≤ thσ tw∩ ì
  131. CR├á values¼á tellinτ thσ use≥ iµ aε erro≥ iε thσá cop∙á occurreΣ ì
  132. (i.e., different CRC values resulted).
  133.  
  134. :MCOPY Interactive Mode
  135.  
  136.      Iµáá thσá user'≤á commanΣá i≤á simpl∙á "MCOPY"¼áá theεáá thσ ì
  137. Interactivσ Modσ i≤ enabled«á  Iε responsσ t∩ thi≤ command¼ MCOP┘ ì
  138. displays the following prompt:
  139.  
  140. MCOPY Status: EIMQV -- MCOPY Command (? for Help)?
  141.  
  142. wherσ an∙ oµ thσ character≤ iε "EIMQVó ma∙ bσ omitted«  Thσ EIMQ╓ ì
  143. character≤á indicatσá thσá statu≤ oµ thσ variou≤á MCOP┘á options¼ ì
  144. namely:
  145.  
  146.           E indicates that File Existence Test is ON
  147.           I indicates that Inspect Mode is ON
  148.           M indicates that Multiple Copy is ON
  149.           Q indicates that Quiet Mode is ON
  150.           V indicates that MCOPY will Verify
  151.  
  152.      Thσ MCOP┘ commanΣ prompteΣ fo≥ i≤ ß singlσá character¼á casσ ì
  153. insignificant«á  Yo⌡á caεá togglσá eacΦ onσ oµ thesσá option≤á b∙ ì
  154. simply striking the appropriate letter.
  155.  
  156.      Therσá arσ si° MCOP┘ Command≤ t∩ perforφ variou≤á functions«  ì
  157. These commands are:
  158.  
  159.           C - Copy a File or Set of Files
  160.           D - Directory Display
  161.           F - Compute Amount of Free Space on Disk
  162.           L - Log in New Directories
  163.           S - Display MCOPY Status
  164.           X or ^C - Exit
  165.  
  166.      Thσá ├á commanΣá (Copy⌐á allow≤ yo⌡á t∩á specif∙á ßá se⌠á oµ ì
  167. destinations¼ sources¼ anΣ file≤ a≤ yo⌡ coulΣ a⌠ thσ commanΣ linσ ì
  168. level«ááá  EacΦááá se⌠ááá i≤áá separateΣáá b∙ááá comma≤ááá (like¼ ì
  169. "dir:=dir:f1.typ,f2.typ,dir:=dir:f3.typ").
  170.  
  171.  
  172.      Thσ ─ commanΣ (Directory⌐ display≤ ß sorteΣ director∙ t∩ thσ ì
  173. use≥á oµá thσá defaul⌠ director∙ o≥ onσá oµá hi≤á choice«á  NameΣ ì
  174. directorie≤ o≥ thσ DU║ forφ ma∙ bσ useΣ t∩ specif∙ thσ directory«  ì
  175. Thσ defaul⌠ director∙ i≤ thσ las⌠ destinatioε director∙ copieΣ t∩ ì
  176. or selected by the L command.
  177.  
  178.      Thσá ╞á commanΣá compute≤ thσ amoun⌠ oµ freσ spacσá lef⌠á oε ì
  179. disk.  The user may select the disk or ride with the default.
  180.  
  181.      Thσá ╠ commanΣ allow≤ thσ use≥ t∩ specif∙ ß ne≈á destinatioε ì
  182. or source directory.
  183.  
  184.      Thσáá ╙á commanΣá tell≤á thσá use≥á thσá Statu≤á oµáá MCOPY¼ ì
  185. particularl∙á wha⌠ thσ curren⌠ sourcσ anΣ destinatioε directorie≤ ì
  186. are.
  187.  
  188.      X or ^C exits MCOPY to ZCPR2.
  189.  
  190. :Sample MCOPY Sessions
  191.  
  192. B7>mcopy help:=mcopy.hlp
  193. MCOPY  Version 2.8
  194.         Copy B  7: MCOPY   .HLP to A 16:
  195. No Original File MCOPY   .HLP on Destination
  196. Reading     7K  Writing     7K
  197.  
  198.     Copy Complete,  Verify Phase --
  199. Reading     7K
  200.     Verify Complete
  201. **** MCOPY Compete ****
  202.             1 File Copied     0 Copy Errors
  203.  
  204.  
  205. B7>mcopy 1:=*.hlp,*.txt i
  206. MCOPY  Version 2.8
  207.         Copy B  7: ????????.HLP to B  1:
  208. MCOPY   .HLP -- Copy (Y/N/Q=Quit and Skip Rest/<CR>=Y)? Y
  209. No Original File MCOPY   .HLP on Destination
  210. Reading     7K  Writing     7K
  211.  
  212.     Copy Complete,  Verify Phase --
  213. Reading     7K
  214.     Verify Complete
  215.         Copy B  7: ????????.TXT to B  1:
  216. HELP    .TXT -- Copy (Y/N/Q=Quit and Skip Rest/<CR>=Y)? Y
  217. S100    .TXT -- Copy (Y/N/Q=Quit and Skip Rest/<CR>=Y)? N
  218. No Orginal File HELP    .TXT on Destination
  219. Reading     1K  Writing     1K
  220.  
  221.     Copy Complete,  Verify Phase --
  222. Reading     1K
  223.     Verify Complete
  224. **** MCOPY Complete ****
  225.             2 Files Copied     0 Copy Errors
  226.  
  227. B7>mcopy
  228. MCOPY  Version 2.8
  229. MCOPY Status:     V -- MCOPY Command (? for Help)? ?
  230.         MCOPY Status:  E I M Q V
  231. These Status Characters have the following meanings:
  232.    E - File Existence Test Mode is ON
  233.    I - File Selection Inspect Mode is ON
  234.    M - Muliple Copy Function Mode is ON
  235.    Q - Quiet Mode is ON
  236.    V - Verify Mode is ON
  237.  
  238. The Status Characters, as commands, toggle their respective modes.
  239. Other valid MCOPY Commands are:
  240.    C - Copy a File or Set of Files
  241.    D - Directory Display
  242.    F - Compute Amount of Free Space on Disk
  243.    L - Log in New User/Disks
  244.    S - Display MCOPY Status (Cur and Dest User/Disk)
  245.    X or ^C - Exit MCOPY
  246.  
  247.  
  248. MCOPY Status:     V -- MCOPY Command (? for Help)? d
  249. ** Directory Display **
  250.         File Spec (<CR>=C  0:*.*)? b1:
  251. DEMO    .COM    4K  DEMO    .MAC    4K  DEMO    .ZEX    4K  GENINS  .MAC   44K
  252. HELP    .TXT    4K  MCOPY   .HLP    8K  TEMPLATE.MAC   12K
  253. **    80K Occupied by Displayed Files,  4048K Remaining on Disk B **
  254.  
  255. MCOPY Status:     V -- MCOPY Command (? for Help)? c
  256.         File Spec (<CR>=Abort)? zcpr:=mcopy.hlp
  257.         Copy B  7: MCOPY   .HLP to A 11:
  258. No Original File MCOPY   .HLP on Destination
  259. Reading     7K  Writing     7K
  260.  
  261.     Copy Complete,  Verify Phase --
  262. Reading     7K
  263.     Verify Complete
  264. **** MCOPY Complete ****
  265.             1 File Copied     0 Copy Errors
  266.  
  267.  
  268. MCOPY Status:     V -- MCOPY Command (? for Help)? f
  269. ** Free Space Data **
  270.         Disk (<CR>=A)? 
  271.  
  272.  1328K Bytes Remaining on Disk A
  273. MCOPY Status:     V -- MCOPY Command (? for Help)? f
  274. ** Free Space Data **
  275.         Disk (<CR>=A)? B
  276.  
  277.  4048K Bytes Remaining on Disk B
  278.  
  279. MCOPY Status:     V -- MCOPY Command (? for Help)? x
  280. ** MCOPY Exiting **
  281.  
  282.