Ad Under Header

How to Format SD Card Using CMD?

How to Format SD Card Using CMD?

How to Format SD Card Using CMD?

Geeks - To format an SD card using Command Prompt (CMD), follow these steps:


Insert the SD card into your computer.


Open Command Prompt by typing "cmd" into the search bar on the Start menu and pressing Enter.


Type "diskpart" and press Enter. This will open the Diskpart utility, which allows you to manage disks, partitions, and volumes on your computer.


Type "list disk" and press Enter. This will show you a list of all the disks connected to your computer.


Identify the SD card by its size and make note of the number next to it (e.g. "Disk 1" or "Disk 2").


Type "select disk X" (where X is the number of the SD card you identified in the previous step) and press Enter. This will select the SD card as the current disk in Diskpart.


Type "clean" and press Enter. This will erase all the data on the SD card, including any partitions or formatting.


Type "create partition primary" and press Enter. This will create a new primary partition on the SD card.


Type "format fs=fat32 quick" and press Enter. This will format the SD card with the FAT32 file system and perform a quick format (meaning it will only erase the file system data, rather than every sector on the card). If you want to use a different file system (e.g. NTFS or exFAT), you can specify it in place of "fat32".


Type "assign" and press Enter. This will assign a drive letter to the SD card, making it accessible in Windows.


Type "exit" and press Enter to exit Diskpart and return to the command prompt.


Your SD card should now be formatted and ready to use. You can check this by opening File Explorer and looking for the drive letter assigned to the SD card (e.g. "E:").












Tags:
Article
Top ad
Middle Ad 1
Parallax Ad
Middle Ad 2
Bottom Ad
Link copied to clipboard.