How To Be Mastering Command Prompt #8 CHKDSK

HKDSK is used to check disk health and display a status report. This command is valid in command prompt with administrator mode.
   

Formula:
    
    CHKDSK  [ volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C]
    

Description:
    Volume  Spedifies the drive letter (followed by a colon), mount point, or volume name.
    Filename    FAT/FAT32 only:specifies the files to check for fragmentation
    /F        Fixes errors on the disk
    /V        On FAT/FAT32: Displays the full path and name of every file on the disk
    /R        Locates bad sectors and recovers readable information (implies /F)
    /X        Forces the volume to dismount first if  necessary
    /I       NTFS only: Performs a less vigorous check of index entries
    /C        NTFS only: Skips checking of cycles within the folder structure
    
    For example:
    If we want to check drive C:\  and fixes error automatically -> CHKDSK C: /F and then the message show :
    “Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)
    Please type Y and then Enter if you want to conitinue to fix disk error, otherwise, type N and then Enter if yout don’t want to continue it
 

Picture 1. CHKDSK C: /f
    
If we want to check drive D:\ and recovery readable information -> CHKDSK D:  /F /R



Picture 2. CHKDSK, include recovery readble information

 

Just that, I hope this is useful for you. Thank for your visiting. Please type your      comments for this tutorial..
    

No comments:

Post a Comment