From CoderGuide

Jump to: navigation, search

Back to Guides:Shells/COMMAND.COM-CMD.EXE/DOS Commands


FDISK is the basic disk partitioning utility in DOS and Windows 9x systems, and DOS/Windows boot disks. Windows PE (Preinstall Edition), XP and later versions use DISKPART, a more advanced disk manipulation utility that allows for these operations to be scripted.

To use FDISK, simply star the program, and follow the prompts. MBR-style disk partitions support 4 Primary partitions. Later, Extended partitions were added (an extended partition takes up the space of one primary partition), to allow for more than 4 partitions on a disk.

The maximum size of a partition is limited by a few factors, but notably by the operating system you intend to run on the system, and the filesystem you intend to put on it. Here are some common filesystem types:

Personal tools