How to format pendrive or SD card using Command Prompt in Windows
You may already know to format your disks through the normal method in Windows computers. If you don’t know, I have a new tip or method to share with you, which format your pendrives or memory cards using the command prompt in windows.
In Windows command prompt we can perform many operations through some keywords which is called commands.
There are some cases in which, when you try to perform the formation on your pendrive or SD card, which windows may fail to format your disk due to some errors in disks. In these cases you can format your disk, whatever it is like pendrive or memory card, from the windows command prompt using some simple commands.
Even though you are formatting your disks from command prompt, you can choose the file type of your disks as well as partition labels. Let me describe you in this tutorial guide, how to do a clean format and create partition in your disks through the CMD commands.
How to format disks in windows using Command Prompt?
Step 1: Launch the Windows Command Prompt, press both the windows key + R key together, from the windows RUN program enter cmd and click enter.
Or you can try one of the alternative methods to launch the command prompt in windows.
Step 2: In the Command Prompt window, type the command
DISKPART
You may need administrative privileges to launch the DISK PART program.
Step 3: Once you have opened the DISKPART program, type the below command to show the list of all disks which are connected to your computer.
LIST DISK
Step 4: From the list of disks, find your disk to be formatted. In my case the disk is Disk 2. If you have not connected more than one hard disks to your computer your disk will be Disk 1. Disk 0 is labelled for your primary disk.
Once you found your disk, type the below command to select your disk.
SELECT DISK 2
Step 5: You will be now received a message like Disk 2 is now the connected disk.
Then type the below command to clean your disk.
CLEAN
Step 6: If you got a message like DISK Part succeeded in cleaning the disk, now type the command:
CREATE PARTITION PRIMARY
This will create a primary partition for your disk and you will get a printed message like Disk Part succeeded in creating the specified partition.
If so, now type the below command and hit enter.
LIST PARTITION
Step 8: Now you have displayed the list of partitions in your selected disk. Now type the below command to select the newly created primary partition.
SELECT PARTITION 1
Step 9: You have now selected the newly created partition, we have to format this partition now. In order to format the partition, type the below command and hit enter key.
FORMAT FS=FAT32 LABEL=”NEW VOLUME” QUICK
Here the FAT32 represents the file system of your disk partition. Let us choose the file system as FAT32 which is the default file system for most of the pendrives and memory cards and it works with most of the OS platform like Windows and Linux.
The LABEL means the disk partition name. You can set the label as you need, it can be changed later.
Step 10: Now to exit the disk part program, type the below command and hit enter key.
EXIT