It checks a disk and displays a status report. It checks for any errors or cross-linked with hard disk drive.
To view ‘chkdsk’ with its all possible parameters you can use following command. Its like help information to regarding that command.
Commands can be run using Microsoft Windows XP Command Prompt (cmd.exe)
volume It specifies the drive letter (followed by a colon), mount point, or volume name. filename FAT/FAT32 only: It specifies the files to check for fragmentation. /F It fixes errors on the disk. /V On FAT/FAT32: It displays the full path and name of every file on the disk. On NTFS: It displays cleanup messages if any. /R It locates bad sectors and recovers readable information (implies /F). /L:size NTFS only: It changes the log file size to the specified number of kilobytes. If size is not specified, displays current size. /X It forces the volume to dismount first if necessary. All opened handles to the volume would then be invalid(implies /F). /I NTFS only: It performs a less vigorous check of index entries. /C NTFS only: It skips checking of cycles within the folder structure. The /I or /C switch reduces the amount of time required to run Chkdsk by skipping certain checks of the volume.
chkdsk D: /F
– It fixes errors if found on D: drive.
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. D:\DINESH > chkdsk D: /F The type of the file system is NTFS. Volume label is Data. CHKDSK is verifying files (stage 1 of 3)... File verification completed. CHKDSK is verifying indexes (stage 2 of 3)... Index verification completed. CHKDSK is verifying security descriptors (stage 3 of 3)... Security descriptor verification completed. Windows has checked the file system and found no problems. 25599545 KB total disk space. 5801964 KB in 36626 files. 11540 KB in 2211 indexes. 0 KB in bad sectors. 109549 KB in use by the system. 65536 KB occupied by the log file. 19676492 KB available on disk. 4096 bytes in each allocation unit. 6399886 total allocation units on disk. 4919123 allocation units available on disk. D:\DINESH > _