home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
ibm1
/
pcwiz01.arj
/
CHKDSK.INS
< prev
next >
Wrap
Text File
|
1991-09-25
|
3KB
|
75 lines
CHKDSK Used to determine information on the amount
of disk space and memory usage/availability,
as well as a diagnostic and correctional tool
for resolving errors in the system's file
allocation table (FAT).
Format: CHKDSK [FileSpec] [/F][/V]
/F allows errors found in the FAT to be corrected.
/V displays listing of all FILES and their PATHS.
Example: CHKDSK
Performs a check of the ENTIRE disk on the CURRENT
drive and reports any error(s) detected and displays
status report on disk and memory usage/availability.
(Will NOT make corrections for FAT errors detected.)
Example: CHKDSK /F
Same as the above, except that if errors are found
will ask if you want the corrupted FAT data to be
converted to files which will free-up space on the
disk. (Under MOST circumstances, it is advisable to
answer [Y]es and be content to have the corrupted
data placed in a file in order to resolve the error
existing in the FAT. This data will be placed in
file(s) named FILE0000.CHK, FILE0001.CHK, ect. and
can be accessed using a word processing program or
viewed on screen using the TYPE command. If you
determine that the data is useless in its current
state it can be deleted using the DEL command or
you can reconstruct it using your word processor
or the DOS line editor, EDLIN.)
Example: CHKDSK *.*
Same as using CHKDSK without parameters, except it
also provides a report of files that are stored in
non-contiguous clusters on the disk. If there are
a large number of non-contiguous clusters reported
and you notice a decrease in the system's speed and
performance, you can eliminate this condition by
using a de-fragmenting or "disk optimizing" program
such as Norton Utilities' SPEED DISK.
Example: CHKDSK /V >LPT1
In addition to the normal information that is
provided by the CHKDSK command, the /V switch will
provide a detailed listing of ALL files that are
contained on the ENTIRE disk drive according to the
subdirectory in which they are filed. Each file
will also include the directory path that is a part
of its name (e.g., \123\DATA\BUDGET.WK1) which is
never reported in a normal directory listing using
the DIR command. Since this listing will normally
be quite large and will scroll by rapidly on your
monitor screen, you can have it REDIRECTED to your
lpt1 printer by including the >LPT1 parameter.
Example: CHKDSK /V >DIR.LST
Same as above, except the listing information will
be placed in a text file named DIR.LST and filed
in the CURRENT directory. This file can later be
printed by using the COPY or PRINT command or can
be viewed on the screen using the TYPE command or
your word processor. (When using the TYPE command
include the pipe |MORE after the command to stop
the on-screen scrolling.)