Copy; Rename - Commodore 1541 User Manual

Disk drive
Hide thumbs Also See for 1541:
Table of Contents

Advertisement

COPY
This command allows you to make a copy of any program or file on the disk
drive. It won't copy from one drive to a different one (except in the case of dual drives
like the 4040), but it can duplicate a program under another name on the drive.
FORMAT FOR THE COPY COMMAND:
PRINT# 15, "COPY:newfile= oldfile"
or abbreviated as
PRINT# 15, "C:newfile= oldfile"
The COPY command can also be used to combine two through four files on the
disk.
FORMAT FOR COPY TO COMBINE FILES:
PRINT# 15, "C:newffle= oldfilel, oldfile2, oldfile3, oldfile4"
EXAMPLES OF COPY COMMAND:
PRINT# 15, "C:BACKUP= ORIGINAL"
PRINT# 15, "C:MASTERFILE= NAME, ADDRESS, PHONES"
RENAME
This command allows you to change the name of a file once it is in the disk direc
tory. This is a fast operation, since only the name in the directory must be changed.
FORMAT FOR RENAME COMMAND:
PRINT# 15, "RENAME:newname=oldname"
or abbreviated as
PRINT# 15, "R:newname=oldname"
EXAMPLE OF RENAME COMMAND:
PRINT#15, "R:MYRA=MYRON"
The RENAME command will not work on any files that are currently OPEN.
16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents