Hi everyone right now I'm trying to create my own program which can make VHD files and mount them all via C# my problem right know is that I don't know how to pass arguments to diskpart.exe all I have now is this:
Process.Start("diskpart.exe", @"create vdisk file=C:\windows.vhd maximum=25600 type=fixed");
another doubt I have is that after running this piece of code a cmd is open and the diskpart also How can I hide the CMD window? or close it?