I'm trying to do a simple copy command for a Post-build step and I keep getting this error -
Quote
Running target post-build steps
copy .\Debug\IrrSpintz.dll C:\WINDOWS\system32\
Execution of 'copy .\Debug\IrrSpintz.dll C:\WINDOWS\system32\' in 'C:\IrrSpintz\source' failed.
Any help please?
EDITWell, I guessed that because copy is a special "dos" command, you need to execute it from a cmd prompt, so I prepended - 'cmd /C ' to all of my commands and they worked. It'd be nice to not have to do that. :D
Does the source file exist? Is the path to it correct? Do you (your running Code::Blocks process) have the permission to write to the target directory?
Edit: Well, solved without my comment. :)