You need to check a hard drive for errors from the command line prompt. What command should you use?
Answer: B) CHKDSK
The CHKDSK command is used to check a disk drive for errors. The CHKDSK command checks for both logical file errors and for physical drive problems.
The incorrect answers:
The DISKPART command provides you with information about the disk partition and hard drive information, but it won’t check the disk for problems.
If your drive is working properly and you need to defragment the drive, the DEFRAG command line utility is the right choice.
The MEM command provides details about memory usage, but no information on the health of the hard drive.
Want to know more? Watch “The Windows Command Line.”
The intricacies of the Windows command line may seem difficult to grasp, but with a little bit of practice and knowledge you’ll begin to take advantage of some powerful functionality. In this video, we’ll use the Windows command line to manage files and directories, edit files, perform diagnostics and tune the operating system.