build batch file
rough cpp wrapper