How to create and delete hardDisk partition using WMI or .net tech

G

Guest

Hi, everybody, I want to create , delete hard Disk partition
programmatically. I am not able to do this stuff. I have more than one
primary parition, logical partition and linux/unix partition on same hard
Disk. I want to delete all logical and linux partition EXCEPT one
bootable/boot PRIMARY Partition.
 
P

Pegasus \(MVP\)

Kumar_Anil_GAYA_INDIA said:
Hi, everybody, I want to create , delete hard Disk partition
programmatically. I am not able to do this stuff. I have more than one
primary parition, logical partition and linux/unix partition on same hard
Disk. I want to delete all logical and linux partition EXCEPT one
bootable/boot PRIMARY Partition.

I have never tried it but perhaps diskpart.exe will do the job.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top