During my build process the final output binary is merged with an encrypted header bin. I used to have a .bat file that would do the command:
copy /b header.bin + compiled.bin output.bin
I’d like to move this (and a few other post build commands) to the Custom Build Steps of VisualGDB. All my commands seem to work except for this copy command. It always returns with a -1. I’ve tried just a simple file copy without merging files and it also returns with a -1. Does the copy command on windows not work in the “Run command” action of custom build steps? I know there is a “transfer a single file” action which works great… however it cannot merge/append two files into one like the windows copy command can.