Thank you Bplus and Steve for idea, here is it. Add more than 1 file to EXE and extract it from EXE.
Sounds like you need a copy of SAC — Steve’s Anorexic Code. It’s a stand-alone program I wrote a few years back which does just that.
Use it from the command line by:
SAC -feed output.exe Afile.txt
SAC -feed output.exe Anotherfile.mp3
SAC -feed output.exe Whatever.png
SAC -make output.exe
With the above, it adds Afile.txt to output.exe, then Anotherfile.mp3 to output.exe...
The make switch finalizes the EXE so it can self-extract with:
output — by itself, it extracts everything into the folder where it’s at (creating file structure if needed for subdirectories)
OR....
output -pukeup Whatever.png — using the pukeup switch, you can extract individual file as needed.
SAC used to be available at [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there], and somebody around here might still have a copy of it floating around somewhere. Heck, I probably have a copy of it archived somewhere in a backup folder, if I can find it and dig it back out. From past experience, it’s often just easier for me to rewrite the code than it is for me to find something once it’s been “put up for safe keeping”. LOL!