assuming that your qcodo.bat file is configured properly (e.g. it has the correct path to your php.exe), then all you need to do is ensure that your codegen_settings.xml file is stored at c:\path\to\cli\settings\codegen.xml and then run
c:\path\to\cli\qcodo.bat codegen
Please post if you continue running into issues.