Clean


Applies To: Windows 7,Windows Vista,Windows Server 2008 R2,Windows Server 2008

Removes any and all partition or volume formatting from the disk with focus.

Syntax


Copy Code

clean [all]

Parameters

Parameter

Description

all

Specifies that each and every sector on the disk is set to zero, which completely deletes all data contained on the disk.

Remarks

Examples

To remove all formatting from the selected disk, type:


Copy Code

clean

Additional references

Command-Line Syntax Key

DiskPart