Added source code for Windows template.exe