Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 60

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

Advertisement

Model II TRSDOS
DIR
List the Diskette Directory
DIR
:d {SYS, PRT}
:d
is a drive specification. (The colon: before
d
is optional.) If:d is omitted,
drive 0 is used.
SYS
tells TASDOS to list system and user files. If SYS is omitted, only user
list the directory to the Printer. If PRT is omitted, TRSDOS
lists the directory on the Console Display.
In addition to the above syntax, DIR now allows the use of a special
wild-card file specification field in place of the drive specification in
sion, but use a wild-card field in place of
and, the wild-card specification may
list all files with the extension
ext.
to be used. If omitted, drive zero will be
nA
I,)Tnl~r
DlfR
p~arclml:ltelrs nna~'
ab30be used with this syntax.
files with a matching
Examples
DIR
Displays the directory of user files in drive O.
DIR 1 PRT
Lists to the Printer the directory of the user files in drive
1.
DIR{SYS,PRT}
Lists to the Printer the directory of System and user files.
The braces are required to prevent
TRSDOS
from taking
SYS
as an invalid drive
specification.
DIR */BAS:1
Lists all user files on drive one with the extension
IBAS.
96

Advertisement

loading