For some personal needs, I built a C program that would act as kind of an installer tool. I embedded some files to the executable. When run, the executable would extract the files and it would invoke a specific one as a batch file. I formalized the code a bit yielding a new utility: CMD2EXE. CMD2EXE was based on a simple C runtime stub. When executed, the stub would check for files that had been appended to it.