:) Hey , Im creating a small application to convert pendrives from FAT format to NTFS :|
but i have a small problem..
Process p = new Process();
string d = txtPath.Text.ToString();
d = d.Substring(0, 2);
p.StartInfo = new ProcessStartInfo("cmd", "/c \"format '+ d' /fs:ntfs" );
p.Start();
p.Close();
using the Above code, what i do is format a selected partition ...
but i want to format it using nfts system...
the cmd code would be format X /fs:ntfs
x = drive letter
what i want to do is to replace the X with my selected data from the listbox,, i tried this
format '+ d' /fs:ntfs
it ddint work fine,, experts,, have you got an idea to do this ? ? ?
Thanks in advance ;)
-------------------------------------------------------------------------------------
* Note - Extra stuff
instead of showing the percentage & stuff on CMD , can i show it on the C# form it self ? ?
-------------------------------------------------------------------------------------