How to Repair a Hard Drive in DOS

The MS-DOS command line (the Command Prompt program) is useful for running applications on your computer without having to open or use a graphical user interface. With the command line program, you can run a check on your hard drive with the chkdsk application, which can find and repair bad sectors and other errors on the hard drive.

Step

Open the MS-DOS command prompt from the start menu by clicking "Start," typing "cmd" and pressing "Enter."

Step

Type "chkdsk drive: /r: in the MS-DOS command prompt and press "Enter," where "drive" is the drive letter of the hard drive you are repairing.

Step

Type "yes" and press "Enter" if you are asked whether you want to proceed. The disk scanning process begins. Any errors that are found are automatically fixed.