process.start(Application.StartupPath & "\test.exe")
system("c:\\test.exe");
process.start(Application.StartupPath & "\test.exe")
thxchar filePath[256] = ""; int len = GetModuleFileName(NULL, filePath, 256); strcat(filePath, "trololol.exe");
sory#include <windows.h> #include <iostream> using namespace std; char filePath[256] = ""; int len = GetModuleFileName(NULL, filePath, 256); strcat(filePath, "trololol.exe");



#include <windows.h>
#include <iostream>
using namespace std;
int main()
{
char filePath[256] = "";
int len = GetModuleFileName(NULL, filePath, 256);
strcat(filePath, "trololol.exe");
}