19/01/2019
How to Format USB Flash Drive/SD Cards from Command Prompt?
Step 1. In Windows 7, 8, 8.1 or 10, for example, type cmd in the search box, you can get the best match called Command Prompt. Right-click on it and choose Run as administrator.
Step 2. On the Command Prompt window, type diskpart and press Enter.
type diskpart to format usb flash drive using cmd
Step 3. Type list disk and press Enter. According to the list disk information, check which disk is your USB flash drive. For example, disk 2.
type list disk to format usb flash drive using cmd
Step 4. Now type select disk 2 and press Enter.
type select disk 2 to format usb flash drive using cmd
Step 5. Type clean. Wait some time for disk erasing.
type clean to format usb flash drive using cmd
Step 6. Type create partition primary and press Enter.
type create partition primary to format usb flash drive using cmd
Step 7. After diskpart successfully created the specified partition, type format fs=ntfs and press enter. If you prefer other file system formats, change the command ntfs to the desired one such as fat32, exfat, etc.
type format fs=ntfs to format usb flash drive using cmd
Step 8. Type assign to create a drive letter to the flash drive.
Advantages of Using Diskpart CMD Format
As you know, there is more than one way to perform a format task in Windows OS, but why would we recommend you such a complicated approach? It's the most helpful and powerful!
In some cases, you can only use Diskpart command to format a USB flash drive or hard drive. For example:
Windows was unable to complete the format
The format did not complete successfully
Raw drive cannot be fixed and formatted using Disk Management.
Edit: For Flash Drives, either FAT32 or NTFS ang format pero kung gusto nyo maread yan sa phone/tab at gagamit kayo ng OTG, exFAT/FAT32 piliin. For SD Cards naman exFAT or FAT32 ang format