EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 108

Radio Shack TRS-80 Model 4
418 pages
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...
RENAME
Command
RENAME
filespec1
[TOJ filespec2
RENAME
devspec1
[TO]
devspec2
Changes a file's name and/or extension from filespec1 to filespec2. It
also changes a device name from
devspec1 to devspec2.
You
can use RENAME to change the name of a file or a device.
RENAME does not change the file's password, contents, or position
on
the disk. (See the ATTRIB command
to
change the password.) If
filespec1 is password protected, the password must be specified or
an error message will result.
RENAME does not change a device's routing, filtering, linking, or
setting.
devspec1 must
be
an
existing device, and devspec2 must be
an
unused device name.
You
cannot RENAME the system devices: *KI,
*00,
*PR, *SI, *SO,
and *JL.
Examples
RENAME TEST
IDAT:
Ql
TO
DLD/DAT
(ENTER)
renames TEST/OAT
on
Drive
(;)
to
OLD/OAT.
RENAME TEST
IDAT:
Ql
TO
REAL
(ENTER)
renames TEST/OAT
on
Drive
(;)
to
REAL/OAT. Since you did not
specify
an
extension for filespec2, it defaulted to the extension
on
filespec1 (OAT).
RENAME
TEST/DAT:Ql
TO
REALI
(ENTER)
renames TEST/OAT
on
Drive
(;)
to
REAL (without
an
extension).
RENAME
DATA/NEW.SECRET:l
TO
10LD(ENTER)
renames the password protected DATA/NEW.SECRET
on
Drive 1 to
DATA/OLD.SECRET. Since
you
did not specify a filename for
filespec2,
it
defaulted
to
that of filespec1. RENAME does not change
or delete passwords,
so
the password defaulted also.
RENAME
*UD
TO
*T)<
(ENTER)
renames the device *UD to *TX.
Error Conditions:
Suppose you want
to
rename TESTER/BAS
to
TESTER (without
an
extension). Typing:
RENAME TESTER I BAS
TO
TESTER
(ENTER)
1-103

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals