Windows

diskpart

DestructiveDisk partitioning tool

diskpart

Interactive disk management: list, select, then act. 'clean' erases the selected disk's layout.

Examples

  • diskpartStart interactive mode

Syntax

diskpart (対話: list disk / select / clean)

Before you run it

clean/format wipe the selected disk.

Related commands

Check it once more before you run it

Some commands cannot be undone if one flag is wrong. An on-device reference works with no connection. Free to install, no ads.

Get it free on the App Store