Details of chkdsk command
I like to know everything about computer system. When I am doing some stuff that time I see something like CHKDSK. I never heard anything about this so I want to know what is CHKDSK is and what is the working of CHKDSK or anything which help me get some knowledge about this. Please anyone give me some detail or tips for this. If possible than give some example or working of CHKDSK, so it’s help me to understand it properly. Thanking you in advance. Help me to get more detail about this please!!!
Re: Details of chkdsk command
I have some details of chkdsk which may be helpful for you.The chkdsk is a recovery console command used to ensure a particular disk and fix or recover data on the drive if needed. Chkdsk also marks any damaged or not working sectors on the hard drive or disk as bad and recovers any information still intact. A chkdsk command is also available from the command prompt. Chkdsk is a utility that checks the computer's hard drives status for any cross-linked or any extra errors with the hard disk drive.
MS-DOS versions 2.x - 4.x used chkdsk.com.
MS-DOS versions 5.x and beyond used chkdsk.exe.
Re: Details of chkdsk command
I have some details related to chkdsk which must help you. The chkdsk command is an external command and is existed in the following Microsoft operating systems.
- Windows 7
- Windows Vista
- Windows XP
- Windows 2000
- Windows NT
- Windows ME
- Windows 98
- Windows 95
- All versions of MS DOS
Syntax of Chkdsk Command:
- chkdsk [drive:] [/p] [/r]
While using this alternative, the /p option is indirect so it's not necessary to utilize it in addition to /r.
Examples of Chkdsk Command:
- In the over example, since no drive or extra options were entered, chkdsk simply displays the status of the present drive.
- chkdsk c: /r
In this case, the chkdsk command is used to execute an extensive check of the drive to correct any errors and to place any recover information from bad sectors.
Re: Details of chkdsk command
I have some syntax of chkdsk which helps you to gain deep knowledge:
- Syntax of chkdsk for MS-DOS, Windows 95, Windows 98, Windows ME.
It checks a disk and shows a status report.
CHKDSK [drive:][[path]filename] [/F] [/V]
[drive:][path] Identifies the drive and directory.
filename Identifies the file to check for fragmentation.
/F Fixes errors on the disk.
/V Displays the full path and name of every file on the disk.
Type CHKDSK to check the current disk
- Windows 2000 and Windows XP chkdsk syntax
Verifies a disk and shows a status report.
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]
volume Identifies the drive letter followed by a colon, mount point, or volume name.
filename FAT only: Identifies the files to check for fragmentation.
/F Fixes errors on the disk.
/V On FAT/FAT32: Displays the full path and name of each file on the disk.
/R Places bad sectors and recovers readable information.
/L:size NTFS only: Changes the log file size to the Identified number of kilobytes. If size is not Identified, shows existing size.
/X Forces the volume to dismount first if necessary. All opened handles to the volume would then be invalid.
/I NTFS only: Executes a less energetic check of index entries.
/C NTFS only: Skips checking of cycles within the folder structure.
Re: Details of chkdsk command
The chkdsk command is obtainable from within the recovery console in Microsoft Windows 2000 and Windows XP. The chkdsk command is frequently used with numerous other recovery console command.
- Recovery console of chkdsk syntax for Windows 2000 and Windows XP
.
Check a disk and displays a status report
chkdsk [drive:] [/p] | [/r]
[drive:] State the drive to test.
/p Check even if the drive is not flagged dirty, bad.
/r Locates bad sectors and recovers readable information.
Chkdsk may be used without any parameters, in which case the current drive is checked with no controls. You can specify the listed switches. Chkdsk needs the Autochk.exe file. Chkdsk automatically places Autochk.exe in the boot startup directory. If it cannot be found in the startup directory, chkdsk try to locate the Microsoft Windows 2000 Setup CD. If the installation CD cannot be establish, chkdsk prompts for the location of Autochk.exe.
For example:
Chkdsk /f