The term format actually means to prepare a storage medium (usually a hard drive or disk) for reading and writing. When you format a hard drive the operating system erases all "bookkeeping" information on the disk, then it tests the hard drive to make sure all sectors are reliable, marks bad sectors (that is, those that are scratched or otherwise damaged), and creates internal address tables that it later uses to locate information. You must format a hard drive (floppy or hard disk) before you can use it.
Format is a Microsoft DOS command. It's the command line you run to remove information from a computer disk, floppy disk or hard disk. It is an external command found in many of the Windows Operating systems. The format hard drive process is done in three steps:
Low-level formatting creates the physical structure on the hard drive. Partitioning divides the hard drive into logical pieces that become volumes. High-level formatting defines the logical structures on the partition and places at the start of the disk any necessary operating system files.
The format command syntax is the following:
FORMAT drive: [/parameters]
where drive: specifies the volume to format (the hard disk letter followed by a colon) — example format c:
— where [parameters] formats the disk with different options — example format c: /s will copy system files to the formatted disk or format c: /q performs a quick format.
The syntax used between Windows 95, 98 and ME differ slightly from Windows 2000, XP and Vista. To see the available Format command parameters for your operating system, you can type FORMAT /? at the DOS command line.