2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by necrolin
0

Do you mean you want to execute commands such as dir from within your C/C++ program? Sure.

system("dir");

Just change dir to the name/location of any program you want. The output will go to the screen though, not back to your program.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.