Is there a way to append a list of files as an executable to the file itself such that the file is still executable?
For example let's say I have 2 files file1 and file2. How might I append the the files in a way to the binary. Again this is a simple example, I would like to have a cross Operating System way to extract Unix and Windows functions. Cross operating system way to append zips (or tar.gz) to a file only to extract it later.
The following illustrates how the files might be extracted and or created.
create ./a.exe ./output.exe file1 file2
extract output.exe