Finished *.bat generator.
Rearranged code. Fixed the filenaming code block. Still need to package files into *.ppr files.