formating
how can i format hard drives programmatically in c#.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Scott LyslePosted Jan 28, 2009, 1:32 AM
System.Diagnostics.
Process.Start("CMD.exe", "/C dir");Except you'd want to call format. You might run into security problems.