Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 29

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

MODEL II TRSDOS
For example, suppose you have a file named
SECRETS/BAS.
and the file has
MYNAME
as an update and access word. Then this command:
hIll SECRETS/BAS
will not cause the file to be Killed. You must include the password
MYNAME
in the file specification.
Suppose a file is named
DOMAIN/BAS
and has blank passwords. Then the
command:
hIll DOMAIN/BAS. GUESS
will not be obeyed, since
GUESS
is the wrong password.
Diskette Names
When you reference a file like
TESTER/BAS:3, TRSDOS
will use whatever
diskette is in drive 3. However, if you add a diskette name to the file specifica-
tion,
TRSDOS
will first check to see that the correct diskette is in the drive.
(You assign diskette names during the Format or Backup process.)
Note: Only the
COpy
command looks at the diskette name and checks that the
correct diskette is inserted. The other commands ignore the diskette name.
A diskette name consists of from 1 to 8 letters and numbers inside parentheses
(
). When you include the diskette name in a file specification, you must
also include the drive number
:d.
Otherwise the diskette name will be ignored.
For example:
COPY REPORT/TXT:0 TO REPORT/TXT:3(TXTFIlES)
tells
TRSDOS
to copy the file
REPORT/TXT
on drive 0 to another file named
REPORT/TXT
on a diskette named
TXTFILES,
using drive 3.
62

Advertisement

loading