In this blog we are going to format a pendrive through command prompt in just few steps. So, lets get started…
First of all connect the pendrive which you want to format through command prompt.
After connecting the pendrive open the command prompt i.e CMD as run as administrator.
After opening the command prompt simply type Diskpart and hit enter.
After that, we need to check the disks, so simply type list disk to check the current disks in the computer.
After hat we need to select the disk we need to format, so in my case Disk 0 is HDD, Disk1 is SSD and Disk 2 is my Pendrive, so enter Select Disk 2 and hit enter.
Now there is a message i.e. Disk 2 is now selected disk.
Now we need to clean the pendrive, so simply type clean in the command prompt and hit enter.
Now there is a message i.e. Diskpart succeeded in creating the specified partition.
After successfully cleaning the pendrive, we need to create partition. So, simply type create partition primary and hit enter.
Now there is a message i.e. Diskpart successed in creating the specified partition.
Now we need to format the pendrive. To format the pendrive, simply type format fs ntfs quick and hit enter.
Now there is a message i.e. 100 percent completed.
So, we have successfully formatted the Pendrive through command prompt.
If you are facing any problem then comment below or contact us, your query will be cleared shortly.