5.183 bytes |
Service Hints & Tips |
Document ID: DETR-3UEQHK |
Crossbrand - How do I use the CHKDSK command?
Applicable to: United States
The CHKDSK command is issued from the DOS command prompt. You can use it to analyze your hard drive or any of your diskettes. If you use the proper parameters, CHKDSK will correct the errors that are found and write them to the disk that you are currently analyzing. If you do not use the proper parameters, CHKDSK will still report the errors, but the corrections will not be written to the current disk.
The syntax of the CHKDSK command is:
CHKDSK [drive:][\path][\filename] [parameters]
Note: The above will be on one line.
drive: - specifies the drive you would like to check for errors. If you do not specify a target drive, CHKDSK assumes that you want to check the current drive.
path - specifies which directory on the target drive that you would like to check for errors. If you do not specify a path, CHKDSK assumes that you want to check the current directory on the current drive.
filename - specifies the filename of the file that you would like to check for errors. You do not have to specify a filename unless you want to check a specific file. If you do not specify a filename, CHKDSK will check all of the files on the drive and directory.
[parameters]
/f - corrects the errors that are found on the drive or in the file and writes the corrections to disk.
Note: As previously mentioned, if the /f parameter is not specified, CHKDSK will look as if it is preparing to correct the disk, but the corrections will NOT be written to the disk.
/v - displays all files and their paths on the current or specified drive
If CHKDSK finds lost allocation units (clusters) on the disk, it asks if you wish to recover the lost data into files. If you say yes, and the /f parameter was used, CHKDSK recovers each chain of lost allocation units into a file whose name is in the form: FILEnnnn.CHK (where nnnn is a sequential number starting with 0000). These files are created in the root directory of the specified drive. You can check these files to see if they have any useful information. If not, you can erase them (see ERASE or DEL command for more information).
Example: To check your C drive for errors type:
CHKDSK C:
Search Keywords |
| |
Hint Category |
DOS/Windows 3.x | |
Date Created |
23-04-96 | |
Last Updated |
23-03-99 | |
Revision Date |
23-03-2000 | |
Brand |
IBM Aptiva | |
Product Family |
Aptiva, PS/1, Laptop L40, Notebook N33, Notebook N45, Notebook N51, PC 300, PC 700, PS/2, PS/Note, ThinkPad 300, ThinkPad 500, ThinkPad 700, ThinkPad 701, ValuePoint | |
Machine Type |
2144, 2168, 2011, 2121, 2123, 2133, 2155 | |
Model |
2R5; 2R7; 2R8; M30; M35; M50; 2R6; 4R7; 4R8; M40; M54; M58; 1R2; 66P; 67P; 86P; OR8; 1R1; 1R3; 1R5; 22P; 24P; 25P; 27P; 29P; 63P; 82P; 83P; OR6; OR7; OR9; 1R0; 26P; 62P; 2R0; P30; C01; C34; M01; NEA; T35; U35; A62; A82; A94; B82; C42; C92; G42; M82; S92; 081; 087; 131; 137; K37; N31; N81; 11E; 13T; 14C; 16E; 17A; 18A; 18T; 19C; 21C; 23C; 28A; 46M; 51D; D50; G11; G13; G43; G46; G49; G50; G53; M46; P11; P13; P43; P50; P53; R04; R05; R06; R09; R38; R42; R43; R44; R84; R86; R87; RO3; S11; S13; S43; S45; S47; S48; S50; S53; W11; W13; W42; W43; W45; W50; W53; 20E; 22T; 24C; 24M; 28V; 39E; 41T; 43C; 45V; 48E; 50T; 52C; 55V; 72E; 74T; 76C; 78C; 79C; 81A; 82E; 84T; 86C; 87C; CC1; D53; G14; G44; G52; G54; G72; G76; G78; G82; NM1; P14; P44; P57; P71; P74; P76; P78; P84; R14; R15; R16; R17; R18; R51; R52; R57; R58; R62; R63; R67; R71; R89; R93; R96; R97; S14; S44; S54; S70; S75; S76; S78; S80; W14; W44; W48; W54; W67; W76; W77; W78; Z33; 31E; 33T; 37C; 38C; 51E; 54T; 56C; 57C; 88V; BB1; G57; G87; OR1; OR3; OR4; OR5; P89; R28; R29; R31; R74; R78; R82; R98; S55; S85; SR1; US1; W52; W82 | |
TypeModel |
| |
Retain Tip (if applicable) |
| |
Reverse Doclinks |