Hi All,

I need to format my USB memory card using C code .But i don't want to call any system commands for that .And the process should not throw any confirmation window like " Are you sure Y/N".Plz help...

You are pretty much SOL if you think you can do that without using any of the operating systems API functions because the OS will not permit your program to directly access the hardware. I assume you are talking about USB flash drie, not a memory card. They don't need to be formatted, just plug it in and its all ready to copy whtever files you want onto it. If it already contains files that you want to remove then just write a C program to delete all those files.