home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / oscpy251.zip / BTHSCOPY.DOC < prev    next >
Text File  |  1993-08-23  |  3KB  |  70 lines

  1. BTHSCOPY.CMD is a batch SCOPYing utility written by C.E.Gaumer
  2. for C.E.Gaumer Software.  This routine facilitates SCOPYing
  3. groups of files by allowing the base filename and all the REMARKS to be
  4. specified before beginning the procedure.  These items are specified in a
  5. text file which can be created in an editor which has copy, cut & paste 
  6. and other features that are not available from the command line.  When 
  7. the procedure is run the user is prompted for the diskettes by the 
  8. previously supplied REMARK for easy identification of the correct 
  9. diskette.  The names of the individual SCOPY files are built from the 
  10. base filename specified in the text with the disk number embedded, and 
  11. the REMARK is passed to SCOPY for inclusion into the SCOPY file.  If an 
  12. error occurs during SCOPYing of an individual diskette, the user is 
  13. given the option to immediately retry that diskette without 
  14. interrupting the continuing REXX procedure.
  15.  
  16.  
  17.  
  18. BthScopy is a BaTcH SCOPY procedure for SCOPYing a group 
  19.  of diskettes into files.  The REXX procedure takes a single parameter 
  20.  which is the full name of a file containing the information required 
  21.  to create the SCOPY files.  This file must be an ASCII text file 
  22.  with the information in the file arranged EXACTLY 
  23.  in the order listed below (one entry per line)  
  24.      The diskette drive that will hold the diskettes (with the colon) 
  25.      The base name for the group of files with "*" replacing number(s) 
  26.          the numbers will be one or two digits decided by the number 
  27.          of asterisks in the base filename given 
  28.      The remark for the first file in the group 
  29.      The remark for the second file in the group 
  30.      The remark for the third file in the group 
  31.           continuing for all files in the group 
  32. The example file below is correct for a series of two files which  
  33. will be read from Drive A: to the files PROG1of2.SCP and PROG2of2.SCP 
  34. A: 
  35. PROG*of2 
  36. This is the REMARK for Diskette 1 
  37. Here is the second Diskette Remark 
  38. The numbers included in the filenames are generated and added to the 
  39.  base filename automatically by the REXX procedure  
  40.  
  41. If the base filename had been specified as PROG**of2 the resulting
  42. filenames for the SCOPY files would be PROG01of2.SCP and PROG02of2.SCP
  43.  
  44. No parameters other than /R are passed to SCOPY so the user will be 
  45. prompted for permission to overwrite if the target exists.
  46.  
  47. Although the samples show short filenames, both this procedure and
  48. the OS/2 version of SCOPY support long filenames.
  49.  
  50. Note the SCOPY.EXE must be in the a pathed directory or the current 
  51. directory.
  52.  
  53. There is no default extension for the list file.  The name of the text 
  54. file used by BTHSCOPY for its listing must be specified in full on the 
  55. command line.
  56.  
  57. If you modify this file in some useful way, please send me a copy of 
  58. the modified file.  I am very interested in how users utilize SCOPY 
  59. both with REXX and otherwise.
  60.  
  61. Comments, questions, etc. may be directed to the author at:
  62.  
  63. C.E.Gaumer Software
  64. P.O.Box 383
  65. Laurys Station, PA 18059-0383 
  66.  
  67.  
  68.  
  69.  
  70.