Calling another program

This is a discussion on Calling another program within the C Programming forums, part of the General Programming Boards category; How would I call another *.exe file from a C program then return when the second *.exe has executed? e.g. ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    43

    Calling another program

    How would I call another *.exe file from a C program then return when the second *.exe has executed?

    e.g. If {something} then {load something.exe}



    Thankyou.

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,812
    The FAQ has a good entry about this
    Run a program from within a program
    Woop?

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    16
    ShellExecute(), search for it on msdn.microsoft.com

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. insufficient memory for tsr
    By manmohan in forum C Programming
    Replies: 8
    Last Post: 01-02-2004, 09:48 AM
  2. Date program starts DOS's date
    By jrahhali in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2003, 05:23 PM
  3. calling programs from a c++ program
    By md4u in forum C++ Programming
    Replies: 0
    Last Post: 05-04-2003, 08:39 AM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. calling c++ program from a webpage
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-04-2001, 10:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21