home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / BATUTL / BAT204C.ZIP / KOPY.BAT < prev    next >
Encoding:
DOS Batch File  |  1986-01-14  |  1.2 KB  |  76 lines

  1.  
  2. echo off
  3. bat *      The EBL KOPY command - by Egin Muth - May 1984
  4. bat *
  5. bat *      Diskette copying for systems with hard disk and only one drive
  6. bat *
  7. bat *      This requires an empty subdirectory C:\KOPY
  8. bat *
  9. bat *      Issue command as with COPY, e.g. KOPY *.BAS, or KOPY
  10. bat *
  11. bat *      If no spec is issued you will be prompted for one
  12. bat *
  13. bat cls
  14. bat if +%1 = + goto -nospec
  15. bat begtype
  16.  
  17.  
  18.  
  19.      Files to be copied from drive A to drive A are:  ;
  20. end
  21. bat type %1
  22. bat goto -spec
  23. bat -nospec
  24. bat begtype
  25.  
  26.      ;
  27. end
  28. bat read  Enter the spec for all files to be copied: %1
  29. bat -spec
  30. bat begtype
  31.  
  32.      Enter source diskette in drive A, then press any key  ;
  33. end
  34. bat beep
  35. bat inkey %2
  36. bat begtype
  37.  
  38.  
  39.           Copying from A to C\\KOPY
  40.           ------------------------
  41.  
  42. end
  43. copy a:%1 C:\KOPY
  44. bat begtype
  45.  
  46.  
  47.      Enter target diskette in drive A, then press any key  ;
  48. end
  49. bat beep
  50. bat inkey %2
  51. bat begtype
  52.  
  53.  
  54.           Copying from C\\KOPY to A
  55.           ------------------------
  56.  
  57. end
  58. copy c:\KOPY\%1 A:
  59. bat stack y
  60. bat begtype
  61.  
  62.           Erasing  C\\KOPY
  63.           ---------------
  64.  
  65. end
  66. del c:\kopy\%1
  67. bat stack.purge
  68. bat begtype
  69.  
  70.           Job is done
  71.           -----------
  72. end
  73. BAT EXIT
  74.  
  75.  
  76.