assuming you're using windows, know exactly where these files are, and simply double-clicking them will open them the way you want, you can use system calls:
Code:
#include <cstdlib>
int main()
{
system("start path to file");
system("start path to second file");
return 0;
}
be warned, however, that this introduces the possibility of a major security breach. if you're only using this on your machine, this shouldn't be a problem though. also note that if you move the files you'll have to change your code and recompile the program.
perhaps a better way of doing this is writing a batch script:
Code:
@echo off
start path to first file
start path to second file
save that as something.bat, put it on your desktop, and run it...
edit: I didn't even read the last line of your post until just now, but yes, that would be the better way to do it...