I'm trying to get the effect of 2 char *'s in one, like so:
Code://I have these varibles...
char *exepath="c:\\test\\";
char *exe="test.exe";
//and based on them, id like to run this command:
system("c:\\test\\test.exe");
//however I'd like to do it based on what values the variables have. Whats the easiest way to do this? I know theres no way in C.