Share via


DiskPart Utility Commands (Windows Embedded CE 6.0)

1/5/2010

The following list shows the commands that the DiskPart command prompt utility supports:

Command Action

ACTIVE

Sets the selected partition to active. The boot sector is read from this partition.

INACTIVE

Clears the active flag on the partition.

CLEAN

Deletes the whole partition on the selected disk.

CREATE

Creates a primary partition on the selected disk.

DELETE

Deletes the selected partition from the selected disk.

LIST

Displays all the disks, or the partitions on a selected disk.

SELECT

Selects a disk or partition to use for future operations.

DUMPMBR

Displays the partition table of the master boot record (MBR).

DUMPSTORE

Displays the STOREINFO for the selected disk.

DUMPPART

Displays the PARTINFO for the selected partition.

ZERO

Writes all zeros to a given sector

DUMPSECTOR

Displays the contents of a sector on the disk.

MBRCODE

Writes a file to the MBR code section

BOOTSEC

Writes a file to the given sector on the disk.

FIXPARTOFFSET

Updates the Bios Parameter Block (BPB) with the correct offset of the partition.

HELP

Displays a list of supported commands.

To view DiskPart command Help topics, at the command prompt, enter DiskPart, and then enter the name of the command. Do not include additional parameters.

See Also

Concepts

DiskPart Utility