DISKCOPY [drive1: [drive2:]]
Copies the diskette in drive1 (or the current drive) to the diskette in drive2 (or drive1), track by track, formatting each of the target’s tracks (with the source’s parameters) as it goes, so the target doesn’t have to be formatted first.
DISKCOPY first asks for the diskettes and waits for a key, and after each copy, it asks whether to copy another:
DISKCOPY A: B:
Insert SOURCE diskette in drive A:
Insert TARGET diskette in drive B:
Press any key when ready...
Copying 40 tracks, 9 sectors per track, 2 side(s)
Copy complete
Copy another diskette (Y/N)?
If both drives are the same, DISKCOPY reads as many tracks as memory allows, then asks for the target diskette, writes them, and asks for the source diskette again, until the whole diskette has been copied.
DISKCOPY copies diskettes of any size its drives support, including PC DOS 1.x diskettes (whose sizes come from the media ID in their FATs), and it refuses hard disks.
DISKCOPY stops if it displays any of these messages:
DISKCOPY works only with diskettes in a known format: the drive is a hard disk, or the diskette’s format isn’t recognizedNot enough memory: there isn’t room for even one track, for a copy with one driveWrite protect errorDrive not readyUnrecoverable read or format errorInvalid driveCopy failed (error n), for any other errorAn argument that isn’t a drive displays Syntax error.
Source: DISKCOPY.BAS
Copyright (c) 2020-2026 Jeff Parsons Released under MIT License