it doesn't work quite that way. Since you have no cygwin installed it will display you the errors. But you don't actually need cygwin anymore. So forget about the CreateProject.bat for a second and follow these simple steps:
- Extract your downloaded cocos2d-x-2.2.2 package to C:\cocos2d-x-2.2.2
- Open the cocos2d-win32.vc2012 solution in your VS2012/2013 IDE.
Right-click the HelloCpp project in the solution and select "Set as StartUp Project"
CTRL+F5 to run/compile your code in debug/release.
That should be it for the beginning. You have a working Cocos2D-X project running!
You might also want to take a look inside the templates directory at C:\cocos2d-x-2.2.2\template\multi-platform-cpp\proj.win32