"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

DOS and Batch Files

Another Way to Show Fragmentation

SUMMARY: Using CHKDSK instead of DEFRAG to show hard drive fragmentation levels.


 

Instead of using DEFRAG, you can check individual files or groups of files to see if they are fragmented. To do so, type in 'CHKDSK filenames', where 'filenames' is a filename or group of filenames you would like to check.

For example, to check the GAMES directory for fragmentation in *.DAT files, type in this command.

CHKDSK C:\GAMES\*.DAT

CHKDSK will give you a report of each file's non-contiguous blocks. The more non-contiguous blocks a file has, the more fragmented it is.



Print This Tip

Get E-Mail When New Tips are Online

Return to the DOS and Batch Files page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )