Deletes the selected volume. Syntax: DELETE VOLUME NOERR NOERR For scripting only. When an error is encountered, DiskPart ...

Deletes the selected volume.  Syntax:  DELETE VOLUME [NOERR]      NOERR       For scripting only. When an error is encountered, DiskPart                 continues to process commands as if the error did not occur.                 Without the NOERR parameter, an error causes DiskPart to exit                 with an error code.      You cannot delete the system volume, boot volume, or any volume that     contains the active paging file or crash dump (memory dump).      A volume must be selected for this operation to succeed.  Example:      DELETE VOLUME