How to format a pendrive using cmd

Hello friends! I’ll tell you about all the commands for formatting a flash drive in the command line that I know, but I’ll make a reservation right away, our reader, in his relatively difficult case, will be helped by the very last command described in this article.

So let’s go. Run the command line as administrator.

The simplest command: 
format / fs: NTFS F: / q means that we want to format the drive with the letter ( F:) to the NTFS file system  and we do not need a disk label  / q  (what is a label is explained later in the article) If you need a FAT32 file system, then the command will look like  format / FS: FAT32 F: / q .
The message appears: ” Insert a new disk into drive F: and press the ENTER key …”
Press ENTER.
The message appears: “ Volume label (11 characters, ENTER – no label needed)”
Press ENTER. 

That’s it, the flash drive is formatted.

Second command:


format F: / fs: NTFS  / v: Remontcompa means that we want to format the drive with the letter ( F:) to the NTFS file system  and the disk label will be  / v: Remontcompa  (of course, you can choose another label)  If you need a FAT32 file system, then the command will look like  format F: / fs: FAT32  / v: Remontcompa .

The message appears: ” Insert a new disk into drive F: and press the ENTER key …”
Press ENTER.

The flash drive is formatted.

And finally, the third command will format your flash drive in case of any errors (of course, if the flash drive is working properly).
We type in the command line:
diskpart  – disk space management utility
list disk  – the entire list of disks is displayed, our flash drive is at number three ( determined by volume).
select disk 3 (3 is the number corresponding to our flash drive)
attributes disk clear readonly  – clears attributes.
clean  – cleaning the flash drive.
create partition primary  – create a primary partition.
format fs = ntfs (or  format fs = fat32 if you need a fat32 file system . You can also use quick format with  format fs = NTFS QUICK )
exit































Leave a Comment

Your email address will not be published. Required fields are marked *