What command do you use to display a list of available drives in a command prompt?

Prepare for the CompTIA A+ (220-901) Test. Use flashcards and multiple-choice questions with hints and detailed explanations. Get exam-ready today!

The correct choice is to use the command "diskpart" to display a list of available drives in a command prompt. When you enter the "diskpart" command, the command-line utility allows you to manage disks, partitions, and volumes. After entering "diskpart," you can then type the command "list disk," which will display all the drives detected by the operating system.

This solution is preferred because "diskpart" is a built-in Microsoft Windows utility designed specifically for disk management and is widely used for tasks such as creating partitions, formatting drives, and troubleshooting storage-related issues.

The other options do not provide the necessary functionality within the command prompt. "list drives" and "show drives" do not correspond to commands recognized in windows command prompt or disk management tools. "drivelist" is also not a valid command in this context and would not yield the desired output of listing available drives. Understanding how to use "diskpart" is essential for effective systems management and troubleshooting within a Windows environment.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy