Today about every person who deals with computer work must have dealt with the data transfer between two computers. As the most common device used today to transfer contents is USB. And also today there are lots of viruses that have been present which can come into your computer through this Pendrive.
So better is to remove the virus regularly and format drive properly to remove a virus from it to protect your computer from viruses. Just follow up the below post to proceed.
How To Format Pendrive Using CMD
In this method, we will be discussing the method of CMD by which you can easily format your Pendrive and also virus of Pendrive will get deleted by this. You just have to follow the below steps to format drive and make it virus free using simple CMD trick.
Method 1: Steps To Format Pendrive Using CMD
First of all, connect Pendrive flash drive to your Computer. After connecting, check the letter assigned to the USB flash drive (whether it’s J: or G: or H:). Because you will have to specify the drive name in the format command while formatting pen drive.
For the example: When I connected the Pen drive to my PC, I checked the drive name and it was H: as shown in above screenshot.
Next, press Win + R keys together to open the Run dialog box and type CMD then press Enter.
After the press, Windows command prompt will appear on your screen. Type the following command in command prompt and press Enter:
format /q /x H:
Where in the format command:
->The q parameter stands for quick format
->The x parameter forces the selected volume to dismount if required.
->The letter “H” is the drive name. Please, replace the letter “H” with your drive name.
Just after pressing Enter, it will display a message like “Insert new disk for drive H: and press ENTER when ready…”
So, simply press the Enter button. Now the process of formatting your Pen drive or USB flash drive will be started. You need to wait until 100% is completed.
Now, you will be able to see a message like “Initializing the File Allocation Table (FAT)… Volume label (11 characters, ENTER for none)?” which means format has been completed and waiting for your confirmation.
So just press Enter again. Once, the pen drive formatting process is completed you will see format complete message along with other details as shown below. That’s it!
Method 2: Steps To Format Pendrive Using CMD
Here you need to press Win + R keys together to open the Run dialog box and type CMD then press Enter.
Now you need to enter the command “format x:” where x is the location of the device.
Now it will ask you to insert the Pendrive. If you have already connected it to your computer, simply hit “Enter”
Now in the very next step, you have to wait for the process to complete. This process takes long to format.
This is the method that will make sure you have formatted your Pendrive properly. You can try our first method if you want to quick format your Pendrive.
Thus, you can see how simple is to format pendrive using command prompt in Windows PC. By this method, you can easily format your Pendrive with command prompt with the simple CMD trick.
This method will make your Pendrive faster and will remove all the viruses like malware and Trojans etc from it. Hope you like the post. Don’t forget to share it with your friends and leave a comment below if you have any related query with this topic.