C++ Programming
05-05-2009, 05:22 PM
Hi
I am able to open(display) a text file using the "system" command as follows.
if(strPgmName =="FCS")
{
system("fcs.txt");
}
But along with fcs text file,even cmd.exe also is also getting opened,I dont want the cmd.exe window to get opened,so what should I do.Can anyone pls give me a suggestion.
Regards,
I am able to open(display) a text file using the "system" command as follows.
if(strPgmName =="FCS")
{
system("fcs.txt");
}
But along with fcs text file,even cmd.exe also is also getting opened,I dont want the cmd.exe window to get opened,so what should I do.Can anyone pls give me a suggestion.
Regards,