beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 79

background image

7/9/98

ROM-DOS 6.22 Command Descriptions 3-21

C H K D S K ( C H e c K D i S K )

External

Purpose

The CHKDSK command checks the disk directories and File Allocation
Table (FAT) and displays a disk and memory report.

Syntax

CHKDSK [d:][path][filespec][/C] [/F] [/V]

Remarks

CHKDSK examines a disk, determines if the disk has any errors in the
File Allocation Table(FAT), and optionally fixes errors.

Options

/F causes CHKDSK to fix errors on the disk if any were found. The
errors that can be found are directory or FAT errors. If the /F is not
specified, then CHKDSK acts as if it will fix the disk, but the
corrections are not written out to the disk.

If errors are detected, you are prompted with a message similar to the
following:

15 lost allocation units found in 5 chains.

Convert lost chains to files?

If you answer Y for Yes, each lost chain is written to a file in the root
directory of the current default drive. Each file has the name
FILEnnnn.CHK. nnnn will be a sequential number. The first chain will
be in FILE000.CHK. These files can be verified to see if they contain
valuable information and then deleted if desired. If you answer N for
No to the above prompt, CHKDSK still makes the corrections; however
the lost chains are not saved to the disk.