How to Format USB Flash Drive in DOS

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
USB flash drive
Image Credit: Jeffrey Hamilton/Digital Vision/Getty Images

A USB flash drive cannot be used to store information until it has been formatted. You have a few methods to choose from when it comes to formatting. You can use FAT, FAT32 or NTFS formatting types by formatting the drive in Windows Explorer. Alternatively, you can format the drive using DOS if you like to work with the command prompt or if you have difficulty formatting the drive using the graphical interface.


Step 1

Plug your flash drive into an empty USB port on your computer.

Video of the Day

Step 2

Click "Start," "All Programs," "Accessories" and "Command Prompt" to open the DOS command prompt window.


Step 3

Type "diskpart" after the command prompt to start the Disk Partition utility. This should result in a DISKPART command prompt.

Step 4

Type each of the following commands, one at a time, after the DISKPART prompt, pressing "Enter" after each:



list disk select disk # clean create partition primary select partition1 active format FS=NTFS assign exit

Step 5

Close the command prompt window. Your USB drive is now formatted.




Report an Issue

screenshot of the current page

Screenshot loading...