If I ad the following as an ExtraCommands then it will fail, but if I comment out the cbExpandBackticks(cmd->command);
line in compiler.gcc then the line works correctly:
<Add after="cmd /c "(for /F "usebackq delims=^=^ " %%a in (
"dir /b/s "$(CODEBLOCKS)....\src\exchndl\win64\bin*.*" ") do @echo %%a )"" />
To test this you will need to change the directory reference to the src\exchndl\win64 directory.
Removing the line is not correct, but shows where the issue is.