system() Function

Discussion in 'C++' started by Baskar, Feb 16, 2005.

  1. Baskar

    Baskar Guest

    Hi all,

    My requirement is to kick off another exe from an exe.

    I write the following code which works perfectly.

    int stat = system("winword.exe");

    But the problem is, each and evry time, Dos promt appears while thw
    winword start. I could just close it and it has no effect on the exe
    that has been fired. I would like to know how to avoid this, i mean no
    command promt should come.

    Appreciate any help regarding this.
    Thanks
    Baskar, Feb 16, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. James Vanns
    Replies:
    7
    Views:
    7,009
    Evan Carew
    Jan 21, 2004
  2. komal
    Replies:
    6
    Views:
    1,403
    msalters
    Jan 25, 2005
  3. Replies:
    2
    Views:
    890
    Bengt Richter
    Aug 1, 2005
  4. Giannis Papadopoulos

    Function pointer to void function and int function

    Giannis Papadopoulos, Sep 5, 2005, in forum: C Programming
    Replies:
    5
    Views:
    1,215
    Barry Schwarz
    Sep 5, 2005
  5. weafon
    Replies:
    1
    Views:
    285
    Diez B. Roggisch
    Jul 14, 2009
Loading...

Share This Page