N/APosted on - 11/02/2012
I am looking for a way to format multiple USB drives at the same time by using DOS command. I created a batch file that I can use for formatting but my problem is I have to press the Enter key for each drive. Is there a way that it can be formatted automatically without having to press any key?
How to format multiple USB drives at a time?
In order for you to format multiple USB drives at the same time using DOS command, follow these steps:
First, plug your USB drive into an empty USB port on your computer.
Then click "Start", "All Programs", "Accessories", and then "Command Prompt" in order to open the DOS command prompt window.
Type “diskpart” after the command prompt in order to start the Disk Partition Utility. This should result in a DISKPART command prompt.
After that, type each of the following commands (one at a time), after the DISKPART prompt, then press “Enter” after each command: “list”, “disk”, “select disk”, “clean”, “create partition”, “primary”, “select partition1”, “active format FS=NTFS”, “assign”, and “exit”.
Close the command prompt window. Your USB drive is now formatted.