I want to be able to simply run a Windows batch file and have it create a .exe executable.
I know that you can create files with the following script in batch:
@echo off
echo This will be in a text file! >> test.txt
echo And this will be the second line! >> test.txt
So I was wondering, would be possible to copy the source code of an EXE file and add an "echo" in front of every line, and a " >> test.exe" and the end of every line?
I tried to open the 39KB .exe in Notepad ++, but it was just a bunch of black NUL characters.
So I'm pretty much asking if there's a way to embed files inside batch files? Even an audio file maybe?