This batch command checks the disk for any problems.
chkdsk
@echo off chkdsk
The above command starts checking the current disk for any errors.