Technically, the .bat files don't need to be gotten rid of, because they are the same every time.
The fake executable files, though, do need to be gotten rid of every time because I'm passing platform, arch, and env data via the generated file.
I just figured that it's a bit neater to clean up everything instead of leaving a bunch of .bat files littering the directory.