EasyManua.ls Logo

Vector Graphic Vector 4 - Page 74

Default Icon
220 pages
Print Icon
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...
\
VA;ll.K
~C,
DC.
Rees
Bytes
Ext
Aee
IIf
Iflk
I
xxx
d:FlLENAME.EXT
f:::=::!
Bytes
remaining
on d:
Illk'
A>
The four columns mean:
The
~
column indicates the number of records (a CP
1M
storage unit of
128 bytes)
that
make
up
the file.
The
aytes
column indicates
how
much disk space is used by
the
tile
you
are checking.
The
E.x1.
column
indicates
the
number
of
extents
in
which
the
file
is
stored (one
extent
= 128 records).
The
last
column
in
the
STAT
display,
marked
~,
stands
for
the
access
attributes
of
the
file, as described earlier. A typical
status
line for
the
file
SAMPLE.DOC,
including your command, would look like this:
Rees
Bytes
Ext
Aee
2'1
ak
1 R/W
A:SAMPLE.~
Bytes
remaining
on
d:
422k
A>
This would mean
that
the
file
SAMPLE.DOC,
which exists on Drive A, consists
of
27
records of 128 bytes each, is allocated 8 kilobytes
of
the
disk
surface
(even though
27
times
128
is only 3456).
It
uses one extent, and is available
for read and write activity.
In
addition,
the
total
unused space on
the
disk
in
drive A is
422
kilobytes. A kilobyte is 1024 bytes or characters.
Most
of
the
information
in
this
status
line wftl only prove
valuable
to
people
who
are
writing programs which must deal with
exact
storage of
data
on disk.
Refer
to
the
section on The
STAT
Command
in
VECTOR
4
CP/M
TRANSIENT
COMMANDS
for more detail.
Other Functions Of
'l11e
STAT
Command
V-26
If
you would
like
to
protect
a
file
or
diskette
from accidental erasure or
change,
the
STAT
program allows you
to
specify
it
as nread-onlyn. This means
that
(in
the
case
of a program), you can use
the
file, but you
can
make
no
changes
to
the
file as stored on the disk.
To
specify a file as having a particular
attribute,
just enter
the
following line:
PIN 7100-0001
9-01-82 - Rev. A