EasyManua.ls Logo

Commodore 128 - Page 260

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
COPY
Copy files from one drive to another in a dual disk
drive or within a single drive.
COPY <[“source filename”] [.Ddrive number] >TO<
[“destinationfilename”] [,Ddrive number]> [CON | ,>Udevice]
This command copies files from one disk (the source file) to
another (the destination file) on a dual-disk drive. It can also
create a copy of a file on the same disk within a single drive, but
the filename must be different. When copying from one drive to
another, the filename may be the same.
The COPY command can also COPY all the files from one drive
to another on a dual disk drive, ln this case the drive numbers are
specified and the source and destination filenames are omitted.
The default parameters for the COPY command are device
number 8, drive 0.
Note: Copying between two single or double disk drive units
cannot be done. See BACKUP.
EXAMPLES:
COPY “test” ,D0 TO “test prog”,D1
Copies “test” from drive 0 to drive 1, renaming it “test prog” on
drive 1.
COPY “stuff” ,D0 TO “stuff”,D1
Copies “stuff” from drive 0 to drive 1.
COPY DO TO D1
Copies all files from drive 0 to drive 1.
COPY “work.prog” TO “backup”
Copies “work.prog” as a file called “ backup" on the same disk
(drive 0).
17-18

Table of Contents