EasyManua.ls Logo

Commodore 2031 - RENAME (BASIC 4.0 Direct Command); (BASIC 4.0 Direct Command); SCRATCH Command

Commodore 2031
98 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...
The format for RENAME is:
PRINT#1fn,"RENAMEdr:nfn=ofn"
Where: dr = the disk drive on which the diskette is located (0).
nfn = the new name of the file.
ofn = the old name of the file.
1fn = a logical file number. You assign this number
arbitrarily and it may be any whole number between 1
and 255.
NOTE
The letter R is a legal abbreviation for RENAME.
RENAME - (BASIC 4.0 Direct Command)
The RENAME direct command in BASIC 4.0 performs the same function as
RENAME disk command.
The format is:
RENAME Ddr,"ofn" TO "nfn" (Ddr=0) ON Udn
NOTE
Close any open files before using the RENAME
command since the disk will not execute this com-
mand on any active files.
For further information on the RENAME command, please refer to the Com-
modore BASIC 4.0 Reference Manual.
SCRATCH
The SCRATCH command erases unwanted files from the specified diskette and
its directory. You can erase one file, several files, or all the files on a
diskette.
The format for SCRATCH is:
PRINT#1fn,"Sdr:fn,dr:fn...dr:fn"
Where: dr = is the disk drive to be searched (0).
fn = is the name of the file to be erased.
25

Table of Contents

Other manuals for Commodore 2031

Related product manuals