HOW TO FORMAT USING CMD

HOW TO FORMAT USING THE CMD IN WINDOWS

    In windows command line there is a very powerful drive formatting tool build in it

It can be used to format drive or change the format of a drive or usb to another format as well partition the drive as per the user intended

HOW TO FORMAT A USB DRIVE/HARD DRIVE:

STEP 1:    Open Command Prompt As Administrator

Opening the command prompt.

To Search for command prompt search in taskbar ,and right click or select  run as Administrator from the menu.

STEP 2:Use Diskpart

To use diskpart

Once the command line is open, type ‘diskpart’ in the terminal and press Enter it will open the  diskpart cli utility.

diskpart command

STEP 3:Type List Disk

to list the available disks in the entire system

The above command will open a Diskpart window. In this terminal prompt, type ‘list disk’ and press Enter. It will list all the available drives in the entire system.

Note the drive number of the disk because it will be used in the next step

list disk command

STEP 4:Select the Drive to Format

To format  a drive.

Now type ‘select disk (disk number)’ Select  the drive number which needs to be formatted by typing “select disk ‘no’ ” this will select the disk.

select disk command

STEP 5:Clean the Disk

Using the clean function.

In this step, type ‘clean’. This command will format all files and folders within them, and successfully clean up the disk.in after this step the drive become inaccessible

STEP 6:Create Partition Primary

To make a primary partition.

See also  BEGINNERS GUIDE FOR JAILBREAKING

To make the drive access the drive again, type ‘create partition primary’ and press enter

STEP 7:Format the Drive

To Formatting a drive.

The above steps are all same for usb or harddisk but formatting the drive is little bit different from each others

Now format the drive with the NTFS file system. Type ‘format fs=ntfs quick’ and press Enter.

Now format the usb drive with the fat32 file system. Type ‘format fs=fat32 quick’ and press Enter.

Don’t forget to enter quick or it may take long time to format

format command

STEP 8:Assign a Drive Letter

To Assigning a drive letter.

To assign a drive letter, you can type ‘assign’ and enter this will assign a random letter to the newly formatted drive.

STEP 9 : Exiting the diskpart

Type “EXIT” in the prompt

Then type EXIT again to close the cmd

Leave a Reply