How do i make my program enter command lines for user?

If i had a program that for example ran in a DOS window, how would i go about making it enter commands for a user that would have the same effect as if they had entered commands themselves on the command line.


  • Use the system(char*) function.
    When it came down to it I dropped everything and ran.
    -Ramza Final Fantasy Tactics

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion