Formats the disk in the specified drive to accept Windows NT files. You must
be a member of the Administrators group to format a hard drive.
format drive: [/fs:file-system] [/v[:label]] [/a:unitsize] [/q] [/f:size] [/t:tracks /n:sectors] [/1] [/4] [/8]
Specifies the drive containing the disk you want to format. If you do not
specify any of the following switches, format uses the drive type to determine the default format for the disk.
Specifies the file system to use, FAT or NTFS. Floppy disks can use only the
FAT file system.
Specifies the volume label. If you omit the /v switch, or use it without specifying a volume label, Windows NT prompts you
for the volume label after the formatting is completed. Use the syntax, /v: to prevent the prompt for a volume label. If you format more than one disk by
using one format command, all of the disks will be given the same volume label. The /v switch is not compatible with the /8 switch. For more information about disk volume labels, see the dir, label, and vol commands.
Specifies the allocation unit size to use on NTFS disks. Use one of the
following values for unitsize. If unitsize is not specified, it will be choosen based on disk size.
Deletes the file table and the root directory of a previously formatted disk,
but does not scan the disk for bad areas. You should use the /q switch to format only previously formatted disks that you know are in good
Specifies the size of the floppy disk to format. When possible, use this
switch instead of the /t and /n switches. Use one of the following values for size:
160 or 160k or 160kb
160K, single-sided, double-density, 5.25-inch disk
180 or 180k or 180kb
180K, single-sided, double-density, 5.25-inch disk
320 or 320k or 320kb
320K, double-sided, double-density, 5.25-inch disk
360 or 360k or 360kb
360K, double-sided, double-density, 5.25-inch disk
720 or 720k or 720kb
720K, double-sided, double-density, 3.5-inch disk
1200 or 1200k or 1200kb or 1.2 or 1.2m or 1.2mb
1.2-MB, double-sided, quadruple-density, 5.25-inch disk
1440 or 1440k or 1440kb or 1.44 or 1.44m or 1.44mb
1.44-MB, double-sided, quadruple-density, 3.5-inch disk
2880 or 2880k or 2880kb or 2.88 or 2.88m or 2.88mb
2.88-MB, double-sided, 3.5-inch disk
20.8 or 20.8m or 20.8mb
20.8-MB, 3.5-inch floptical disk
Specifies the number of tracks on the disk. When possible, use the /f switch instead of this switch. If you use the /t switch, you must also use the /n switch. These two switches provide an alternative method of specifying the
size of the disk being formatted. You cannot use the /f switch with the /t switch.
Specifies the number of sectors per track. When possible, use the /f switch instead of this switch. If you use the /n switch, you must also use the /t switch. These two switches provide an alternative method of specifying the
size of the disk being formatted. You cannot use the /f switch with the /n switch.
Formats a single side of a floppy disk.
Formats a 5.25-inch, 360K, double-sided, double-density floppy disk on a
1.2-MB disk drive. Some 360K drives cannot reliably read disks formatted with this
switch. When used with the /1 switch, this switch formats a 5.25-inch, 180K, single-sided floppy disk.
Formats a 5.25-inch disk with 8 sectors per track. This switch formats a
floppy disk to be compatible with MS-DOS versions prior to 2.0.
More Information About Format