Automate CHKDSK

Realigning some NTFS partitions on a 4K harddrive using GParted from a live CD forced me to boot into Windows to CHKDSK the partitions before cloning them using CloneZilla.

FOR %X IN (1 2 3) DO FOR %P IN (C D E F G H I J K L) DO CHKDSK /X /F %P


Leave a Reply

Your email address will not be published. Required fields are marked *