EasyManua.ls Logo

Commodore PC 20 - Page 172

Commodore PC 20
494 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...
134
MS-DOS User's Reference
Chkdsk (check disk)
Chkdsk status report
The Chkdsk switches
Saving a Chkdsk
status report
Chkdsk
Purpose:
Scans
the
disk in
the
specified drive
and
checks
it for errors.
Syntax:
chkdsk [drive:) [pathname) [If) [Iv)
Comments:
You should
run
chkdsk occasionally
on
each
disk
to
check
for
errors.
If
you
do
run
chkdsk
on
a disk and any
errors
are found,
chkdsk displays
the
error
messages, followed by a status report.
A typical status
report
might look like this:
160256
bytes
total
disk
space
8192
bytes
in
2
hidden
files
512
bytes
in
2
directories
30720
bytes
in
8
user
files
121344
bytes
available
on
disk
65536
bytes
total
memory
53152
bytes
free
The
If
switch fixes
errors
on
the
disk.
If
you
do
not
specify this
switch,
chkdsk
does
not
correct
errors
that
it
finds in
your
direc-
tory, though
it
does
display messages
about
files
that
need
to
be
fixed.
If
you specify
the
Iv switch, chkdsk displays messages while
it
is
running.
If
you type a filename after chkdsk, MS· DOS displays a status
report
for
the
disk and for
the
individual file.
Note Chkdsk
does
not
correct
errors
on
a disk unless
you
specify
the
If
switch. For
more
information
on
chkdsk errors,
refer
to
the
specific
error
message
in
Appendix
E,
"MS·DOS
Message
Directory."
Examples:
If
you
want
to
save
the
chkdsk status
report
for future use,
you
can
redirect
the
output
from chkdsk
to
a file by typing
the
following:
chkdsk
a:>filename
c

Table of Contents

Related product manuals