How I can Run exe file in C++

This is a discussion on How I can Run exe file in C++ within the C++ Programming forums, part of the General Programming Boards category; hello How I can Run exe file in C++. or how i can making a program that when I ran ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1

    Talking How I can Run exe file in C++

    hello
    How I can Run exe file in C++.
    or how i can making a program that when I ran it, whit number 1 can be run a exe file with name of a1001.exe in drive C and with number 2 can be run a exe file with name of a1002.exe in drive E.
    if it is possible please help me.
    thanks.

    ===================================
    Web Site: http://www.bitasoft.ir
    Web Site & Electronic Catalogue Designing
    ===================================

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    ShellExecuteEx
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 04:44 PM
  2. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 05:14 AM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 02:19 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 11:12 PM

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