Today we are here with the method for formatting pendrive using CMD. You just have to follow the below steps to format the drive and make it virus free using simple cmd trick.
[dropcap]T[/dropcap]oday 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 the drive properly to remove a virus from it to protect your computer from viruses. Just follow up the below post to proceed.
Also Read: Best PC Tricks and PC Hacks
How To Format Pendrive Using CMD
In this method, we will be discussing the method of cmd by which you can easily format your USB Pendrive and also the virus of the Pendrive will get deleted by this. You just have to follow the below steps to format the drive and make it virus free using simple cmd trick.
Also Read: How To Remove Computer Viruses Using CMD
Steps To Format USB/Pendrive Using CMD:
Step 1. First of all, connect USB/Pendrive flash drive to your Computer.
Step 2. 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.
Step 3. Next, press Win + R keys together to open the Run dialog box and type cmd then press Enter.
Step 4. 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…”
Step 5. 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.
Step 8. 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!
Also Read: How to Hide Drives with CMD
Step 1. Here you need to press Win + R keys together to open the Run dialog box and type cmd then press Enter.
Step 2. Now you need to enter the command “format x:” where x is the location of the device.
Step 3. Now it will ask you to insert the Pendrive. If you have already connected it to your computer, simply hit “Enter”
Step 4. 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 pen drive using command prompt in Windows PC. By this method, you can easily format your Pendrive with command prompt with the simple cmd trick. And 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.