Diskpart script to remove all partitions [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 12 months ago . I'm trying to make a Diskpart script that takes in a value of a drive letter, and then deletes all the partitions of the corresponding device of that drive letter. The script that I currently have is select Disk 1 select partition 0 delete partition select partition 1 delete partition but the obvious problem