STOP POPPING UP OF DOS WINDOW WHILE USING SYSTEM() COMMAND IN C PROGRAM

Hi,

I want to run a DOS command from my C program - and I can do that fine, but I want to do it without the Command Window popping up. Is there a way to do this?? because if the command window pops up it makes my app look very scruffy.

Regards
SAURABH JAIN

system(), AFAIK in windows is going to make that happen and you can't stop it.

You need to launch programs in a different way. I know the win api has
functions to start programs, but I'm not a windows programmer so I don't
know what they are.

Alternatively I don't know if you have fork()/exec() available to you.
Last edited on
Topic archived. No new replies allowed.