VC++ call external application


I am using Visual C++ 2010. I need to call an external application (.exe) in my code. I tried to add the path of the application in my code, or add the path in project property through include, executable, linker..., none of them works. Each time the execution window indicates: "xxx is not recognized as external or internal command... "

Till now the only solution that I found is to copy all the files related to this application into the c++ project's folder. That works but not in a smart way.

Could anyone please tell me how to let Visual Studio know the path of the application that I call?

Topic archived. No new replies allowed.