New generate.bat for Windows

Tested on Windows 7 x64 with Pandoc 1.12.4.2 and MiKTeX 5270