ya.. i have done that.. but i should not disclose any of my exe files while running the main file.. pls refer to above postsnishant_nms said:try using a batch file
#include<windows.h>
#define PROGRAM1 "notepad.exe"
#define PROGRAM2 "pbrush.exe"
//Change the definitions to your convinience. Not sure whether just 'notepad.exe' will work or not...
//Please check it or use complete paths
int main(int argc, char *argv[]) {
ShellExecute(NULL, "open", PROGRAM1, NULL, NULL, SW_SHOWNORMAL);
ShellExecute(NULL, "open", PROGRAM2, NULL, NULL, SW_SHOWNORMAL);
}