How to format Pen Drive using CMD (Command Prompt)

format pen drive using cmd

In this post, we will cover how to format pen drive using cmd. There are many ways to format pen drive, but in this post we will describe two ways to how to format pen drive using cmd. Pen Drive, USB Drive, Flash Drive or Memory Stick, whatever you call it, is a handy portable device that helps you to store valuable data.

Like everything else, these tiny devices need formatting from time to time to work properly. An average person would try and do it the old-fashioned way: right click on the drive concerned and select ‘format’.

But what if the process gets stuck in the middle or worse, comes up with an error? And that happens quite often. However, there’s always a better way to get things done. You can format your USB drive by using Command Prompt.

What is Command Prompt?

Command Prompt (CMD) is a command line interface in Windows which executes the command entered. It is a useful tool to execute tasks in a simpler and more effective.

Step 1. How to Format a Pen Drive Using CMD

Note: You can also Go to Start menu and type CMD  in the search box to open Command Prompt.

format /q /x H:

In this Command,

format – Command for format

Q – Quick Formatting

X – forces the selected volume to dismount if required.

H – letter assigned to the Drive. Check on your system and type the drive letter accordingly.

You will also see the total space available on the drive after the process is complete.

Step 2. How to Format a Pen Drive Using CMD

in this step you have to run more command to format pen drive using cmd, Just run a few commands from the Windows command line (In Command Prompt) and Windows will do the rest.

cmd
diskprat
list disk
select disk
clean
create partition primary
format fsntfs
assign

Now type exit command to exit diskpart program. Now your pen drive is ready to use.

Step 3. How to Format a Pen Drive Using CMD

In this step, you can quickly format a USB drive using cmd. its also use diskpart program. Again open CMD as administrator.

diskprat
list volume
Select volume
quick format

To close diskpart program type exit command and press Enter.

Exit mobile version