Thread: Running program from windows program?

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212

    Running program from windows program?

    How do I execute a program without using
    Code:
    system("notepad");
    ?

    This is really annoying because it brings up a DOS box.

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    well you could read the FAQ

    http://www.cprogramming.com/boardfaq.html#execs

    or you could just look up spawn*() in the MSDN or something
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    oops sorry

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    don't worry this was my first question on the old boards... i didn't read the FAQ either.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Running program in unix
    By Cpro in forum Linux Programming
    Replies: 2
    Last Post: 02-10-2008, 08:28 PM
  2. Program works on Windows XP and 2000, not on 98 or ME
    By MidnightlyCoder in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2006, 02:36 PM
  3. Check if program is alreadi running
    By rEtard in forum Windows Programming
    Replies: 1
    Last Post: 07-02-2005, 12:35 AM
  4. How to tell when internal program is done running
    By PJYelton in forum Windows Programming
    Replies: 5
    Last Post: 03-21-2005, 09:09 PM