1.exe has the following code
ShellExecute(0, "open", "2.exe", NULL, NULL, SW_SHOWNORMAL);
1.exe and 2.exe are in the same directory
now this works cool only if i give the full path to 2.exe, but the thing is, the 2.exe is in the same directory as the .exe file im launching it from, so how do i code ShellExecute() to open 2.exe which is in the same directory without having to give the full path
ShellExecute(0, "open", "2.exe", NULL, NULL, SW_SHOWNORMAL);
1.exe and 2.exe are in the same directory
now this works cool only if i give the full path to 2.exe, but the thing is, the 2.exe is in the same directory as the .exe file im launching it from, so how do i code ShellExecute() to open 2.exe which is in the same directory without having to give the full path