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.
You could try to simply fork (not the linux fork :) ) a new process and run the Windows format command from inside your C# program.