![]() |
The DOS CHKDSK Command |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: Not only does CHKDSK report free disk and memory space, but this DOS command checks the integrity of a file's structure. It insures that all logical references are correct. This process allows CHKDSK to check each file entry in the directories against the information in the File Allocation Table (FAT). CHKDSK assures that each directory entry points to a valid place in the FAT. The length listed in the directory, and the disk space allocated in the FAT, need to agree with each other. If they don't agree, an error is reported. Cross-linked files, or a double reference in the FAT to the same allocation space on the disk, are examples of a disagreement which can cause an error. By definition, each file is an exclusive copy. It occupies its own space on the disk, and does not share its information with other files. CHKDSK reports files that are sharing space as a cross-linked file. CHKDSK assures that there is a directory reference for every piece of data allocated in the FAT. If there is not a reference, it reports how many data clusters in how many file chains have been lost. DOS asks permission to repair the FAT if CHKDSK finds a flaw. In case of a flaw, one question asked may be if a user would like the information converted to files. If the answer is no, DOS will erase the lost clusters from the disk, and thereby free up disk space. If the answer is yes, CHKDSK converts the lost areas into files. These files will appear in the disk's Root directory under the name of FILEXXXX.CHK, in which XXXX is a consecutive number between 0000 and 9999. After checking the converted files, if they do not contain anything useful, they may be deleted. For CHKDSK to do anything other than report, it needs to be run with the /F option. Please consult with a DOS manual before using the /F option. If the /F option is not specified, CHKDSK merely reports what it would do if the /F option had been designated. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |