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
Method 2:ย
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.
Also Read:ย How to Increase Pendrive/USB Data Transfer Speed
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.