5.36
RENAME
SYNTAX
RENAME
RENAME (oldfile newfile I device:drive IO='new_disk_name')*
DESCRIPTION
For each sequence, "oldfile newfile", changes the name of
"oldfile" to "newfile" on the disk drive specified by
oldfile.
If in Verbose mode, the following message will be
printed for each name change.
oldfile--->newfile
For each sequence, "device:drive IO='new disk name'",
the name of the disk in the specified drIve is changed to
"new disk name".
The device must be either $FLOPPY for
diskettes-or $DISK for hard disks; no psuedonyms for these
devices may be used.
The "new disk name" may be up to 24
characters for $FLOPPY or 100 characters for $OISK, and
may include any character except carriage return or
semicolon.
If a single quote is to be part of the new
name, it must be immediately followed by a second single
quote.
The disk is renamed by first initializing the
allocation maps, reading directly from the disk (via the floppy
or hard disk driver) the map sector on which the disk IO is
saved, altering it, and rewriting the sector.
A second
initialization is then made to update the disk name in
memory.
I/O UNIT UTILIZATION
Unit 0:
file I/O
- 100 -
Need help?
Do you have a question about the Z80-RIO and is the answer not in the manual?
Questions and answers