diskpart — new in WS2003
Manages disks, partitions, and volumes from the command line.
diskpart diskpart /s
Enters interactive mode and displays the
DISKPART> prompt, waiting for you to enter
Specifies a script containing a series of
commands to execute sequentially
The following is a summary of
that can be used either interactively or in scripts. Note that each
command has its own unique syntax, which is summarized briefly.
Marks the selected basic partition as active.
Adds the specified disk as a mirror to the selected simple volume.
Assigns the specified drive letter or mount point to the selected
assign is used alone, the next
available drive letter is used. Does not work with system/boot
volumes or volumes where a paging file resides.
Enables and disables automatic mounting of basic volumes. Automounting is enabled by default and should be disabled only for storage area networks.
Breaks a mirror set into two simple volumes and changes the focus to
the specified volume so you can assign it a drive letter. The
nokeep option causes the mirrored volume to be
converted to free space instead.
Deletes the configuration information from the selected disk by
overwriting the MBR. The
all option sets every
sector to zero to delete all data on the disk.
Converts a dynamic disk ...