Format a Drive from C#

后端 未结 1 1182
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-14 12:49

I need to format a pen drive from within a C# application.

I\'ve googled around and the only thing I can find is http://msdn.microsoft.com/en-us/library/aa394515(VS.

1条回答
  •  情深已故
    2021-01-14 13:14

    You could try to simply fork (not the linux fork :) ) a new process and run the Windows format command from inside your C# program.

    0 讨论(0)
提交回复
热议问题