home *** CD-ROM | disk | FTP | other *** search
-
- echo off
- bat * The EBL KOPY command - by Egin Muth - May 1984
- bat *
- bat * Diskette copying for systems with hard disk and only one drive
- bat *
- bat * This requires an empty subdirectory C:\KOPY
- bat *
- bat * Issue command as with COPY, e.g. KOPY *.BAS, or KOPY
- bat *
- bat * If no spec is issued you will be prompted for one
- bat *
- bat cls
- bat if +%1 = + goto -nospec
- bat begtype
-
-
-
- Files to be copied from drive A to drive A are: ;
- end
- bat type %1
- bat goto -spec
- bat -nospec
- bat begtype
-
- ;
- end
- bat read Enter the spec for all files to be copied: %1
- bat -spec
- bat begtype
-
- Enter source diskette in drive A, then press any key ;
- end
- bat beep
- bat inkey %2
- bat begtype
-
-
- Copying from A to C\\KOPY
- ------------------------
-
- end
- copy a:%1 C:\KOPY
- bat begtype
-
-
- Enter target diskette in drive A, then press any key ;
- end
- bat beep
- bat inkey %2
- bat begtype
-
-
- Copying from C\\KOPY to A
- ------------------------
-
- end
- copy c:\KOPY\%1 A:
- bat stack y
- bat begtype
-
- Erasing C\\KOPY
- ---------------
-
- end
- del c:\kopy\%1
- bat stack.purge
- bat begtype
-
- Job is done
- -----------
- end
- BAT EXIT
-
-