generate cube.bat on win32