Then you can type list volume, and hit Enter. You can open CMD, type diskpart and hit Enter. To list drives, you can type fsutil fsinfo drives and hit Enter.Īlternatively, you can use another command-line tool named Diskpart to get the list of all hard drives with some more details of the drives. You can also use it to list drives and files. Windows also has another command line tool named Fsutil that helps for file, system and disk management.
Then type the command: wmic logicaldisk get name or wmic logicaldisk get caption, and hit Enter to check the list of all drives detected by your computer. If you need to simple list all drives, you can use WMIC (Windows Management Instrumentation) command. Hit Enter key on the keyboard, and you will access the external drive from Command Prompt. After you open Command Prompt, you can type the drive letter of the external removable drive, be it USB flash drive or external hard drive, and type a colon after it. You should plug the USB flash drive or external hard drive into the computer. The help command provides information about another command including available switches to perform additional tasks.Read More How to Open USB Flash Drive or External Hard Drive Using CMD This will ping the computer with the address 192.168.0.2 and output any response. It will send a data packet to another system on the network and will await a reply - outputting the results. This command is used as a troubleshooting tool to resolve network issues. This command will display the current network information for your adapters including IP Address, Default Gateway, Subnet Mask etc. This will display the contents of the C: directory or drive. Several additional switches can be used with the command to perform additional actions. (see the Microsoft guide below for further info on the available commands). Also provides details on the modification date and size of files. NOTE: The Root directory is the best place to enter any required commands or instructions.Ĭommand used to switch the directory (path) in which you are working.Įxample: cd\windows\system32 Will move the prompt to the system32 folder path located in the Windows folder.Īllows you to see available files and folders within the selected directory.