I tried to desigen program that format partition from the HDD. like D:... then
i right this code
#include<process.h>
int main()
{
system("d:");
system("format d: /q");
system("y");
return 0;
}
but it comes to ( " all data on non_removalbe disk
driver d:will be lost !
proceed with format (Y/N)?
and stop .... howver i right " system("Y");
...i dont know what's the wrong ?? :rolleyes: