I am facing a problem in C++,I want to execute a command in Command prompt from a specific path.I am able o select a path and execute cmd.exe using the function ShellExecute but the problem is after selecting the path I am not able to execute the command, the command is appearing on another command prompt.Is there any solution to solve this Problem
thanks for the reply.
actually i want to execute a query " bpl -p ..............." which is defined in a specific path. say c:\\program files
now i have to execute these steps..
1. execute cmd.exe
2. change the path to C:\\program files
3. execute the command "bpl -p ...."
first two steps r working for me..
i want to do the last step..