Guys, im trying to run a .txt file from my program. I chose to use system() to do it but whenever i ran it, a Dos console C:/windows/system32/cmd.exe came out together with the .txt file, is it possible to remove it ? or do anybody have a better alternative to running the .txt file only without any other alien stuffs accompanying it ?
system() without a DOS box popping out
ShellExecute(NULL, "open", "textfile.txt", NULL, NULL, SW_SHOW);
Thanz anonytmous ! u always give me the best advice and examples