Formating
how can i format hard drives programmatically in c#.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Scott LysleRank #49 · 31K reputationPosted Jan 27, 2009, 8:32 PM EST
System.Diagnostics.
Process.Start("CMD.exe", "/C dir");Except you'd want to call format. You might run into security problems.