Hints > Common Operating System Commands > FORMAT

FORMAT
This prepares a new disk partition for use and creates a boot record for the partition. A format will erase the data in the partition and makes the partition ready to accept files. When accessing a new partition from DOS that has not been formatted, the error message appears Invalid media type.
To format a partition, the format command is issued with the drive letter. The ā€œ/Sā€ option will also load a set of minimal start up files from the boot diskette so the partition (if active) will boot. To format drive E and load the system into drive E, the following command is issued:
A:\ > format e: /s
See Also:
ATTRIB
FDISK
SYS

Avanquest USA
Copyright (c)2001–2007 Avanquest Publishing USA, Inc.
All Rights Reserved.