Parameters for the Disk Directory Option
As you can see from the
entry prompt
for the
Disk
Directory,
this
command has two parameters
,
SEARCH
SPEC and
LIST FILE
.
At this
prompt.
you can choose to search for a single
file,
several
files
,
or all
files
on
the diskette
you designate. If
you
do not indio
cate a specific disk drive,
DOS
will assume that
you
wanllo see
the
files
on the
diskette
in Drive 1 (the
default
drive).
If you do
not
indicate a specific filespec
,
DOS
will substitute the
default
values of
01:*.·
,E:
for the two
parameters
.
The first
de-
fault
parameter,
01 :·
.
•
•
tells
DOS
that you want
to
see a listing of
all
the files
on
the
diskette currently inserted in
Drive
1.
The
second
default parameter,
E:,
tells
DOS
that you want all this
information
to be displayed
on
the screen
.
Therefore
,
if
you spec-
ify
neither parameter and simply press
[
Aetlrn
I,
DOS will list on
the screen all filenames and
file
sizes stored on
the
diskette
in-
serted
in
Drive
1.
If you have a
printer,
you can print a copy of the directory by us-
ing
a comma
(,)
for
the first
parameter and a P: for
the
second
parameter. In
the example
below,
the
data
is printed for only one
file
,
DOS.SYS.
1.
Type
A
and press
[Aetlrn
J.
2. After the directory
entry
prompt appears
,
type
OOS .SYS
, P:
and press
[
Retlrn
J
.
3.
If
you
have
a
printer
and
it
is on
,
a partial
directory
for
Drive
1
will be printed on the printer
instead
of
the
screen
.
If
you do
not
have
a
printer
(or
it
is not turned
on),
you will see an
ERROR-138 displayed
on the screen
.
On
the
hard copy
from the
printer,
you
will
see:
DO
S
8\'S 037
739 FREE
SECTORS
Each
time the DISK DIRECTORY
option completes a taSk
,
it
displays a
SELECT ITEM
OR
[
Aew-n
J
FOR
MENU
prompt.
32