How to open ptab780

How to open a drive in CMD (C, D, USB, external hard drive) [MiniTool]

  • Facebook
  • Twitter
  • Linkedin

Overview:

If you want to open a drive in CMD, like drive C, drive D, USB flash drive, or external hard drive, check out this tutorial on how to do that. If you want to manage your hard drive, such as resize hard drive / format / repartition hard drive, recover lost data from hard drive / USB, etc., MiniTool software offers simple and professional solutions.

  • How do you open a drive in CMD?
  • How to open an external hard drive using Command Prompt on a Windows 10 computer?
  • How to List Hard Drives Using CMD?

If you are wondering how to open a specific drive in CMD (Command Prompt), you can refer to the detailed instructions below.

How to open a drive (C / D drive) in CMD

  • You can Windows+R. to press, cmd type and press enter to bring up the window command prompt to open. If you want to open an elevated command prompt, you have to Ctrl + Shift + Enter key to press.
  • After the command prompt opens, you can type the drive letter of the drive you want, followed by a colon, e.g. C :, D :, and press Enter. The CMD.exe then changes to the drive letter of the target drive.
  • Then if you want to search the entire root contents of the drive, you can use the command to you If you want to view the contents of different directories, you can use the CDUse command to change directory in CMD.

How to open a USB flash drive or external hard drive with CMD

  • You should connect the USB flash drive or external hard drive to the computer.
  • After opening Command Prompt, you can enter the drive letter of the external removable drive, be it a USB flash drive or external hard drive, and then enter a colon. If you press Enter on the keyboard, you can access the external drive from the command prompt.

Learn how to open a file / folder in Command Prompt (cmd) on Windows 10. Here is a step-by-step guide.

How to List Hard Drives in CMD

  • If you simply need to list all the drives, you can use the Windows Management Instrumentation (WMIC) command. You can open the command prompt.
  • Then enter the command:: wmic logicaldisk get name or wmic logicaldisk get captionand press Enter to review the list of all drives recognized by your computer.

Windows also has another command line tool called Fsutilthat helps with file, system and disk management. You can also use it to list drives and files. To list drives, you can fsutil fsinfo drives type and press Enter.

Alternatively, you can use another command line tool called Diskpart to get the list of all hard drives with some more details about the drives.

You can open CMD, diskpart type and press Enter. Then you can list volume type and press Enter. You will see that it shows the volume number, drive letter, drive label, formatting system, partition type and size, status and some other information.

What is the function of Diskpart and how do you use it? In this article you will find the answers.

How to use Command Prompt to scan and repair (external) hard drive in Windows 10

If your hard drive has some problems, you can also use CMD to scan the hard drive repair errors. The two most common command utilities are CHKDSK and SFC.

After entering Command Prompt, you can chkdsk *: / f / r Enter (replace "*" with the drive letter) and press Enter. This will run Windows 10 CHKDSK to check the integrity of the hard drive file system and fix logical file system errors as well as check bad sectors on the hard drive.

You can also sfc / scannow to run Windows System File Checker (SFC) tool to check and repair any corrupted or missing system files on your Windows 10 computer.

To recover accidentally deleted or lost files from PC and external drives, you can use MiniTool Power Data Recovery. With this best free data recovery software for Windows 10, you can easily recover any data in various data loss situations.

3 easy steps to free file / data recovery including 23 frequently asked questions and their solutions

Conclusion

This post introduces how to open drives in CMD and how to list hard drives in CMD. You can easily open C drive, D drive, USB flash drive, external hard drive, etc. from Command Prompt. It also introduces how to check and repair hard drives in Windows 10 using CHKDSK and SFC command utilities.

  • Facebook
  • Twitter
  • Linkedin

ABOUT THE AUTHOR

PennyFollow us

Position: Columnist

She joined the MiniTool family in 2018. After that, she focuses on data recovery and disk management. Over the two years she has written many good posts and helped users get out of their data recovery and computer management problems.

In addition to knowledge of computer tricks, she is also interested in foreign languages, especially Japanese and Korean. She also likes animated films and feature films very much. "Good morning ... Oh, and if we don't see each other, good afternoon, good evening and good night!" Is her favorite movie quote.