CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2003
    Location
    Midwest
    Posts
    2

    Question Dos program launcher program...thingie

    I have to do a pretty simple project that's been proving to be impossible. I just need to make a small dos program that displays a menu and launches various batch files or exe's based on the user selection. I just need to know how to launch external programs in dos using C++.

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    Well...Windows provides the function 'WinExec()' which can be used for legacy reasons...

  3. #3
    Join Date
    Jun 2003
    Location
    INDIA
    Posts
    586
    or system ("command to run") ;

  4. #4
    Join Date
    Aug 2003
    Location
    Midwest
    Posts
    2
    system() seems to work...thanx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured