AllInWorld99 provides a reference manual covering many aspects of web programming, including technologies such as HTML, XHTML, CSS, XML, JavaScript, PHP, ASP, SQL,FLASH, jQuery, java, for loop, switch case, if, if else, for...of, for...in, for...each,while loop, blogger tips, blogger meta tag generator, blogger tricks, blogger pagination, client side script, html code editor, javascript editor with instant output, css editor, online html editor, materialize css tutorial, materialize css dropdown list,break, continue statement, label,array, json, get day and month dropdown list using c# code, CSS button,protect cd or pendrive from virus, cordova, android example, html and css to make android app, html code play,telerik show hide column, Transparent image convertor, copy to clipboard using javascript without using any swf file, simple animation using css, SQL etc. AllInWorld99 presents thousands of code examples (accompanied with source code) which can be copied/downloaded independantly. By using the online editor provided,readers can edit the examples and execute the code experimentally.


     chkdsk is defined as check disk, and it is used to check your the integrity of disk. Check disk can correct many type of common errors on NTFS, FAT32 and FAT16 drives. This will compare the volume bitmap with the disk sectors assigned to files in the file system.

    If you check your system using chkdsk command periodically, you can avoid many type of issues like system file corrupt.

How to Run the Check Disk from the commend line:-


Step 1:
Open Chkdsk Command



a) Go to Start => Run or Just press the (Windows key +R) to open the Run Dialog box, here you can type and open your program.

b) Type the "cmd" and press enter, now the command box (black color window) will open, this is used to type the windows command, many type of window commands are there.

c) Enter the word "chkdsk" and press enter.





Step 2:-
chkdsk command execution



   This will check three steps of process. In first step Verify the File, in second step verify the index value of the file. Third step Usn Journal verification.

     After complete  all the three steps, it will show the result of the process like total disk space, total number of files, indexes, number of system used files, bad sector, size of log file occupied.





Syntax:-
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B]

Explanation:
 volume    : Specifies 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            : Locate bad sectors and recovers readable information (implies /F).
 /L:size     : NTFS only-Changes the log file size to the specified number of kilobytes. If size is not
                   specified, displays current size.
 /X            : Forces the volume to dismount first if necessary. All opened handles to the volume would
                   then be invalid(implies /F).
 /I             : NTFS only- Performs a less vigorous check of index entries.
 /C            : NTFS only- Skip checking of cycles within the folder structure.
 /B            : NTFS only-Re-evaluates bad clusters on the volume(implies /R)  

   If you want to specific  drive then you can enter the command like below
chkdsk C:
   In the above mentioned command is just analysis the c drive and display the result like bad sector and other related disk error but it wont repair the error. you can find and repair the error by the following command
 chkdsk /f C:



0 comments:

Post a Comment

Total Pageviews