Format
Format a hard drive or floppy disk. Provided by an external utility. It can perform actually 2 different tasks: low-level formatting a disk (a complete disk), or creating a filesystem on a disk or inside a partition.
format d: [options]
Options
d: The hard drive or floppy disk to format.
/V:label Assign this label to the formatted disk.
/Q Do a quick format. This clears the FAT and root directory, but does not erase the disk.
/U Do an unconditional format.
/F:size Format the disk to a specific size. Valid values are:
160 | 160k | 160kb Format to 160kb.
180 | 180k | 180kb Format to 180kb.
320 | 320k | 320kb Format to 320kb.
360 | 360k | 360kb Format to 360kb.
720 | 720k | 720kb Format to 720kb.
1200 | 1200k | 1200kb | 1.2 | 1.2m | 1.2mb Format to 1.2MB.
1440 | 1440k | 1440kb | 1.44 | 1.44m | 1.44mb Format to 1.44MB.
2880 | 2880k | 2880kb | 2.88 | 2.88m | 2.88mb Format to 2.88MB.
/B Reserve space to make a bootable disk.
/S Make a system disk (copy files to make it bootable.)
/T:tracks Specify the number of tracks on the disk.
/N:sectors Specify the number of sectors.
/1 Format a single-sided disk.
/4 Format a 5–1/4 inch 360KB DSDD disk on a 1.2MB drive.
/8 Format a 5–1/4 inch disk with 8 SPT.
Error levels
0 success
3 user aborted with ^C
5 user did not confirm
4/others signal various fatal errors