2 files under 1

I once saw a program that combines two programs under one name, so you could run them both at the same time. I tried making a program that did the same by having the program do a binary append, but the programmed that got appended didn't run. If someone could tell me how to append two files and have them both run, I would be very grateful. Thanks.

Just appending it like that would not work... The logic would be to write a program which will store the files.. and when launches extracts the files and uns them seperately... But if you are trying to do that for DOS forget it...

I don't know enough to implement this, but it seems that you could create a menu offering the option of which program to run, stick that in the top of the .exe, and stick the two programs after that with jump instructions to them in ASM, but God, that sounds like a programming nightmare. Perhaps you could just program a menu that launched the other .exes from where they are now.

hey, this is basically the same as what blackrat364 suggested, but if you don't know ASM, then you could try this:

append the program onto a little menu system prog then store where the first program and the second program start and end, then when you want to run a particular program extract the program to a temporary destinaton then once you exit the program give control back to the menu system which will then delete the program you just loaded.

LOL, it does sound like a programming nightmare, have a play your come up with something.